File Systems Flashcards

1
Q

Information stored in files must be [p] and not affected by [p] [c] and [t]. A file should only [d] when its owner explicitly [r] it.

A
persistent
process
creation
termination
disappear
requests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

There are three essential requirements for files.

A

Store a large amount of information

Information should survive process termination

Multiple processes must be able to access information concurrently.

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

A file is a type of [u]

A

unit

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

A regular file…

A

contains user information

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

Directories are…

A

special files for maintaining the file system

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

Character special files

A

are related to input output and used to model I/O

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

Block special files…

A

are used to model disks

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

Sequential allocation allows a process…

A

to read bytes from a start to an end point. Not good at jumping around.

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

Define random access files

A

files whose bytes and records can be read in any order

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

Every file has [n] and [d]

A

name and data

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

The extra information associated with a file are called its

A

attributes

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

Record length, ley position and key length are only present in files…

A

…that are looked up using a key.

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

Create() does what?

A

creates a file with no data.

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

Delete() does what?

A

deletes a file

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

Open() does what?

A

Allows system to fetch attributes and list of disk addresses into main memory.

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

Write() does what?

A

data is written to a file, usually at the current position.

17
Q

Read() does what?

A

Data are read from file. Caller must specify how much.

18
Q

Append() does what?

A

A restricted form of write. Adds to end of file.

19
Q

File organisation needs to allow for [qa], [eu], [es], [sm] and [r]

A
quick access
easy update
economy of storage
simple maintenence
reliability
20
Q

An absolute path name

A

is the path to the requested file from the route

21
Q

A relative path name…

A

is used in conjunction with the working directory. path names are defined in relation to the working directory.

22
Q

tree structures allow…

A

several file names, provided the paths are different