Shared Flashcard Set

Details

Operating Systems Chapter 10
Terms from Chapter Tem of Operating Systems Concepts by Galvin, Silberschatz, and Gagne
32
Computer Science
Undergraduate 3
04/30/2013

Additional Computer Science Flashcards

 


 

Cards

Term
File Attributes
Definition
Name, identifier, type, location, size, protection.
Term
File Operations
Definition
Create, write, read, reposition within a file, delete, truncating.
Term
File Name
Definition
Symbolic file name. Only information kept in human-readable form.
Term
File Type
Definition
What kind of file it is. .txt .png .mov .mkv .pdf that kind of stuff.
Term
File Location
Definition
Pointer to a device and to the location of the file on that device.
Term
Current-File-Position Pointer
Definition
Where the pointer in the file is currently pointing to. The current operation location. Is per-process.
Term
Shared Lock
Definition
A lock that signifies that some process is reading the file.
Term
Exclusive Lock
Definition
A lock that signifies that some process is writing a file. Can only be obtain if nothing is reading the file.
Term
Magic Number
Definition
A number placed at the beginning of some file that signifies the file type. Not always supported.
Term
Sequential Access
Definition
Simplest access method. Information in the file is processed in order, one record after the other. Most files use this.
Term
Direct Access
Definition
A file is made up of fixed-length logical records that allow programs to read and write records rapidly in no particular order. Databases commonly use this.
Term
Logical Record
Definition
Fixed-Length records used for direct access methods.
Term
Device Directory
Definition
Each volume that contains a file system must contain information about the files in the system. This information is kept in entries in a device directory. Records information for all files on that volume.
Term
Single-Level Directory
Definition
All files are contained in the same directory. Very simple and easy to support. However, does not support folders, or multiple users. Not practical.
Term
Two-Level Directory
Definition
Allows for folders to be used. Often these folders are for different users. Still not really used.
Term
Tree-Structured Directory
Definition
Folders can contain folders. Much more useful and common. Users can now make their own directories to organize their files.
Term
Current Directory
Definition
The directory that contains most of the files that are of current interest to the process. When reference is made to a file, the current directory is searched.
Term
Absolute Path Name
Definition
The path name for a file that starts at root and follows a path down to the specified file, giving the directory names on the path.
Term
Relative Path Name
Definition
Defines the path from the current directory.
Term
Acyclic-Graph Directory
Definition
Allows for shared directories. Is like the tree structure but since shared files and directories are allowed, is slightly different.
Term
General Graph Directory
Definition
A dumb idea. Don't do this. Allows for cycles in the file-system which adds lots of complexity for everything involving the file system. Again, don't do this.
Term
Link
Definition
A pointer to another file or subdirectory.
Term
File System Mounting
Definition
Similar to opening a file before using it. The directory structure can be built out of multiple volumes, which must be mounted to make them available within the file-system name space.
Term
Mount Point
Definition
The location within the file structure where the file system is to be attached. Generally is an empty directory.
Term
Consistency Semantics
Definition
Specify how multiple users of a system are to access a shared file simultaneously. They specify when modifications of data by one user will be observable by other users.
Term
Unix Semantics
Definition
Writes to an open file by a user are visible immediately to other users that have the file open. One mode of sharing allows users to share the pointer of current location into the file. This the advancing of the pointer by one user affects all sharing users.
Term
Session Semantics
Definition
AFS uses this. Writes to an open file by a user are not visible immediately to other users that have the same file open. Once a file is close, the changes made to it are visible only in session starting later. Already open instances do not reflect changes.
Term
Immutable-Shared-File Semantics
Definition
Once a file is shared by its creator it cannot be changed. Its name may not be reused, and its contents cannot be altered.
Term
Access-Control List
Definition
A list of all users with rights to a file, and what rights they have. Can specify all users to have some set of rights.
Term
Owner (for a file system object)
Definition
The user who created the file.
Term
Group (for a file system object)
Definition
A set of users who are sharing the file and need similar access.
Term
Universe (for access to a file system object)
Definition
All other users in the system.
Supporting users have an ad free experience!