39. Files and directories Flashcards

1
Q

What is file?

A

Array of bytes associated with an i-node number

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

What is a directory?

A

It’s list of name-inode mappings

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

Where does process store its open descriptors?

A

It’s stored in the PCB in an array of pointers to Open File Table and descriptor is an index into this array

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