slides10 - File Systems Flashcards

1
Q

Directory

A

Symbol table translating the file names to file control blocks - file control blocks will tell us where to find the data in the file

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

Single-level directory

A
  • Files must have unique names
  • each directory entry points to a single file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two-level directory

A
  • Each user has a single level user file directory
  • Master file directory links all the users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Tree-structured directories

A
  • Directory contains a set of sub-directories and files
  • Process has a current directory location
  • Files/directories can be referenced with relative or absolute paths
  • Drawback: if a program needs a file in another directory, file must be copied to program’s directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Acyclic graph directories

A
  • Allows sharing of files/directories -> links to same instance
  • hard links: links only to files (acyclic)
  • soft links: links to files or directories (can create cycles)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly