Deck 14: File-System Implementation

Full screen (f)
exit full mode
Question
The FAT method ______________

A) keeps information about the block where bit vector is stored.
B) employs space maps to manage information about free blocks.
C) does not store information about free blocks.
D) incorporates free-block accounting into the allocation data structure.
Use Space or
up arrow
down arrow
to flip the card.
Question
Unified virtual memory uses _____________ to cache both process page and file data

A) disk block caching
B) double caching
C) buffer caching
D) page caching
Question
Using ____-bit pointers limits the size of a file to 4 GB.

A) 32
B) 64
C) 128
D) 256
Question
UNIX inode is an example of _______

A) a contiguous allocation.
B) a linked allocation
C) an indexed allocation
D) an index file
Question
What are the main drawback of a linear list of directory entries?
Question
Indexed allocation

A) supports direct access
B) does not suffer from external fragmentation.
C) all of the above
D) none of the above
Question
Sequential access can be optimized by

A) free-behind technology
B) read-ahead technology
C) all of the above
D) none of the above
Question
What kind of in-memory information are used for file-system management?
Question
Describe the role of the logical file system module.
Question
The basic file systems _______________

A) reads and writes physical blocks on the storage device.
B) tracks unallocated blocks and provides them the when it is required.
C) manages directory structure.
D) is responsible for protection.
Question
What is the size of the bit vector of a 1TB disk with 512-byte blocks?

A) 2 MB
B) 28 MB
C) 28 MB
D) 8 MB
Question
Why is the whole block not available to a user when linked allocation is used?
Question
Describe UNIX inode concept.
Question
WAFL (write-anywhere file layout)

A) is a file system dedicated to single user operating systems
B) is a distributed file system
C) cannot provide files via NFS
D) can provide files via NFS, but not via CIFS
Question
_______________ is used to implement a file system.

A) A boot control block
B) A volume control block
C) A directory structure.
D) all of the above
Question
What happens when a process closes the file?
Question
The following characteristics of disks make them convenient for being the secondary storage:

A) it is possible to read a block from the disk, modify the block, and write it back into the same place
B) a disk can access directly any block of information it contains
C) all of the above
D) none of the above
Question
In __________ write, the data are stored in the cache, and control returns to the caller.

A) a non-buffered
B) a buffered
C) an asynchronous
D) a synchronous
Question
How may we combat the main disadvantage of fixed size hash table?
Question
When a boot control block may be empty?
Question
The addresses of a given number of free blocks can be found faster using linked list rather than using grouping.
Question
Why should the permanent backup be stored far away from the regular backup?
Question
The open() call returns a pointer to the appropriate entry in the system wide-open-file table.
Question
What method of free space management is used by Oracle's ZFS file system?
Question
Why should new allocation algorithms be developed for NVM (nonvolatile memory) devices?
Question
Contiguous allocation of a file is defined by the address of the first block and length (in block units) of the file.
Question
What is a double caching?
Question
The I/O control level consists of device drivers and interrupt handlers to transfer information between the main memory and the disk system
Question
The logical file system module includes the free-space manager.
Question
The FAT method incorporates free-block accounting into the allocation data structure.
Question
Solaris ZFS file system never overwrites blocks with new data.
Question
What is a role of fsck in UNIX?
Question
The consistency check is always able to recover the structures,
e.g., resulting in loss of files and entire directories.
Question
Storage devices that do not allow overwrite (such as NVM devices) need only the free list for managing free space.
Question
The file allocation table (FAT) has one entry for each block and is indexed by block number.
Question
For counting method (used by free space management), the entries in the free-space list can be stored in a linked list, rather than a balanced tree, for efficient lookup, insertion, and deletion.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/36
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 14: File-System Implementation
1
The FAT method ______________

A) keeps information about the block where bit vector is stored.
B) employs space maps to manage information about free blocks.
C) does not store information about free blocks.
D) incorporates free-block accounting into the allocation data structure.
C
2
Unified virtual memory uses _____________ to cache both process page and file data

A) disk block caching
B) double caching
C) buffer caching
D) page caching
D
3
Using ____-bit pointers limits the size of a file to 4 GB.

A) 32
B) 64
C) 128
D) 256
A
4
UNIX inode is an example of _______

A) a contiguous allocation.
B) a linked allocation
C) an indexed allocation
D) an index file
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
5
What are the main drawback of a linear list of directory entries?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
6
Indexed allocation

A) supports direct access
B) does not suffer from external fragmentation.
C) all of the above
D) none of the above
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
7
Sequential access can be optimized by

A) free-behind technology
B) read-ahead technology
C) all of the above
D) none of the above
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
8
What kind of in-memory information are used for file-system management?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
9
Describe the role of the logical file system module.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
10
The basic file systems _______________

A) reads and writes physical blocks on the storage device.
B) tracks unallocated blocks and provides them the when it is required.
C) manages directory structure.
D) is responsible for protection.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
11
What is the size of the bit vector of a 1TB disk with 512-byte blocks?

A) 2 MB
B) 28 MB
C) 28 MB
D) 8 MB
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
12
Why is the whole block not available to a user when linked allocation is used?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
13
Describe UNIX inode concept.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
14
WAFL (write-anywhere file layout)

A) is a file system dedicated to single user operating systems
B) is a distributed file system
C) cannot provide files via NFS
D) can provide files via NFS, but not via CIFS
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
15
_______________ is used to implement a file system.

A) A boot control block
B) A volume control block
C) A directory structure.
D) all of the above
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
16
What happens when a process closes the file?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
17
The following characteristics of disks make them convenient for being the secondary storage:

A) it is possible to read a block from the disk, modify the block, and write it back into the same place
B) a disk can access directly any block of information it contains
C) all of the above
D) none of the above
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
18
In __________ write, the data are stored in the cache, and control returns to the caller.

A) a non-buffered
B) a buffered
C) an asynchronous
D) a synchronous
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
19
How may we combat the main disadvantage of fixed size hash table?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
20
When a boot control block may be empty?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
21
The addresses of a given number of free blocks can be found faster using linked list rather than using grouping.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
22
Why should the permanent backup be stored far away from the regular backup?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
23
The open() call returns a pointer to the appropriate entry in the system wide-open-file table.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
24
What method of free space management is used by Oracle's ZFS file system?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
25
Why should new allocation algorithms be developed for NVM (nonvolatile memory) devices?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
26
Contiguous allocation of a file is defined by the address of the first block and length (in block units) of the file.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
27
What is a double caching?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
28
The I/O control level consists of device drivers and interrupt handlers to transfer information between the main memory and the disk system
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
29
The logical file system module includes the free-space manager.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
30
The FAT method incorporates free-block accounting into the allocation data structure.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
31
Solaris ZFS file system never overwrites blocks with new data.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
32
What is a role of fsck in UNIX?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
33
The consistency check is always able to recover the structures,
e.g., resulting in loss of files and entire directories.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
34
Storage devices that do not allow overwrite (such as NVM devices) need only the free list for managing free space.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
35
The file allocation table (FAT) has one entry for each block and is indexed by block number.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
36
For counting method (used by free space management), the entries in the free-space list can be stored in a linked list, rather than a balanced tree, for efficient lookup, insertion, and deletion.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 36 flashcards in this deck.