W10 - File Management Flashcards

1
Q

What are some desirable properties of files?

A

Long-term existences
Sharable between processes
Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name file attributes.

A
Name
Identifier
Type
Location
Size
Protection
Time, and user identification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

File basic operations.

A

Create, delete, write, read, open, close

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name a few file management system objectives.

A

-meet data management needs of user
-optimize performance
-guarantee data in file are valid
-minimize potential lost or destroyed data
I/O support for multiple users in multiple-user systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the basic I/ supervisor in charge of?

A

File I/O initiation and termination.
Selection of device for which I/O is performed.
Scheduling disk and tape performance.
Assigned I/O buffers and secondary memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a basic file system responsible for?

A

Referred to as physical I/O level.

Concerned with placement of blocks on the secondary storage device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Elements included in a file directory.

A
File name
File type
File organization
Starting address
Size used
Size allocated
Owner
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What two issues arise in file sharing?

A

Access rights

Management of simultaneous access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is secondary storage management?

A

Data structure on a disk that holds files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What information does a Super Block contain?

A

Size of file system.
Size of file control block area.
Location of the file control block of root directory of the file system.
Times the files was created, modified, last used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Contiguous allocation vs Chain allocation

A

Contiguous has external fragmentation. Simple. Good performance.
Chain has no external fragmentation. Seeks can be slow. Simple. Each block contains pointer to next block in chain. Files expand and contract. No direct access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Indexed allocation pro and con.

A

Support direct access.

Contain separate index for each file. Dynamic access without external fragmentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Chained free portions disadvantages.

A

Fragmentation.
Everytime you allocate a block you need to read the block first to recover the pointer to the new first free block before writing data to that block.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do each of these contain:

1) In-memory mount table
2) In-memory directory-structure cache
3) System-wide open-file table
4) Per-process open-file table

A

1) contain information about each mounted volume
2) hold the directory information of recently accessed directories
3) contain a copy of the FCB of each open file, as well as other information
4) contain a pointer to the appropriate entry in the system-wide open-file table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly