Operations Systems C8 Flashcards
- Question: What are the main responsibilities of the file management system software?
Answer: The main responsibilities include creating, deleting, modifying, and controlling files.
Question: What are the four tasks typically performed by the File Manager?
The four tasks are:
- File storage tracking
- Policy implementation
- File allocation if user access is cleared
- File deallocation
How does the file management system efficiently use available storage space?
:** It determines where and how files are stored and communicates file availability.
What aspects of file management does policy determine?
Policy determines file storage location and system and user access.
What are the two factors influencing access to material in a file management system?
Factor 1 involves flexibility of access to information, including sharing files, providing distributed access, and allowing users to browse public directories.
Factor 2 relates to subsequent protection, such as preventing system malfunctions and implementing security checks like account numbers and passwords.
Factor 1 involves flexible access to information through file sharing, distributed access, and browsing public directories.
Factor 2 relates to protection measures like preventing system malfunctions and implementing security checks such as account numbers and passwords.
Define the terms: Field, Record, File, Flat file, Database.
-
Field: A group of related bytes identified by user-defined attributes like name, type, and size.
- Record: A group of related fields.
- File: A group of related records used by specific application programs.
- Flat file: A file with no connections to other files and no dimensionality.
- Database: A group of related files interconnected at various levels, providing users flexibility of access to stored data.
What are the most common user commands when interacting with the File Manager?
The most common user commands include OPEN, DELETE, RENAME, and COPY.
What is a typical volume configuration in a file management system?
A volume typically represents a secondary storage unit, either removable or nonremovable. It may contain multi-file volumes with many files or multi-volume files spread across several volumes. Volume names are managed by the file manager and are easily accessible.
What is the purpose of the Master File Directory (MFD)?
The MFD, stored immediately after the volume descriptor, lists the names and characteristics of every file in the volume, including file names, types (such as program files, data files, system files), and subdirectories if supported by the file manager.
The purpose of the Master File Directory (MFD) is to list the names and characteristics of every file in the volume, including file names, types, and subdirectories, providing a comprehensive index immediately after the volume descriptor.
What are the disadvantages of having a single directory per volume, as supported by early operating systems?
The disadvantages include long search times for individual files, directory space filling up before disk storage space is fully utilized, inability to create subdirectories or safeguard files, and the need for each program to have a unique name, even for those serving many users.
The disadvantages include
long search times for individual files,
directory space filling up before disk storage is fully used,
inability to create subdirectories or safeguard files,
need for unique names for each program, even those used by many users.
How do file managers typically organize file entries for each volume?
File managers create a Master File Directory (MFD) for each volume, which contains entries for both files and subdirectories.
What unique properties do subdirectories have in file management systems?
Subdirectories are created upon account opening, treated as files, and flagged as subdirectories in the MFD.
How have file managers evolved in terms of subdirectory management?
Modern file managers allow users to create their own subdirectories (folders) to group related files together. This is implemented as an upside-down tree structure.
What are the benefits of allowing users to create their own subdirectories?
Allowing users to create subdirectories enables related files to be grouped together, leading to more efficient system searching of individual directories.
Describe the components of a file descriptor.
A file descriptor typically includes:
- Filename (each must be unique)
- File type (organization and usage)
- File size
- File location (identifies first physical block or all blocks)
- Date and time of creation
- Owner
- Protection information (access restrictions)
- Record size (fixed size, maximum size)