File Systems Flashcards
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.
persistent process creation termination disappear requests
There are three essential requirements for files.
Store a large amount of information
Information should survive process termination
Multiple processes must be able to access information concurrently.
A file is a type of [u]
unit
A regular file…
contains user information
Directories are…
special files for maintaining the file system
Character special files
are related to input output and used to model I/O
Block special files…
are used to model disks
Sequential allocation allows a process…
to read bytes from a start to an end point. Not good at jumping around.
Define random access files
files whose bytes and records can be read in any order
Every file has [n] and [d]
name and data
The extra information associated with a file are called its
attributes
Record length, ley position and key length are only present in files…
…that are looked up using a key.
Create() does what?
creates a file with no data.
Delete() does what?
deletes a file
Open() does what?
Allows system to fetch attributes and list of disk addresses into main memory.