What communicate directly with peripheral devices or their controllers or channels
Long-term existence - files are stored on disk or other secondary storage do not disappear when a user logs off Sharable between processes - files have names and can have associated access permissions that permit controlled sharing Structure - depending on the file
system, a file can have an internal structure that is convenient for particular applications. In addition, files can be organized into hierarhical or more complex structure to reflect the relationships among files Create - a new file is defined and positioned within the structure of files Delete - a file is removed from the file structure and destroyed Open - an existing file is declared to be "op Close -
the file is closed with respect to a process, so that the process no longer may perform functions on that file Read - a process reads all or a portion of the data in a file Write - A process updates a file, either by adding new data that expands the size of the file or by changing the values of existing data items in the file Field - the basic element of data; a single value
characterized by it's length and data type Record - a collection of related fields that can be treated as a unit by some application program File - a collection of similar records; where access control restriction is usually applied Database - a collection of related data where the relationships that exists among elements of data are
explicit File Management Systems
Objectives
Each user can:
ArchitectureDevice drivers - communicate directly with peripheral devices or their controller or channels Basic file system (Physical I/O) - deals with blocks of data that are exchanged with disk or tape systems; the placement of the blocks on the secondary storage Basic I/O supervisor - responsible for all file I/O initiation and termination
Logical I/O - enables users and applications to access records; deals with file records
File Management Functions
12.2 - File Organization and Access
The Pile
The Sequential File
The Indexed Sequential File
The Indexed File
The Direct/Hashed File
12.4 - File Directories
Structure
Naming
12.5 - File SharingAccess Rights
Different classes of users:
12.6 - Record Blocking
Fixed blocking - fixed-length records are used, and an integral number of records are stored in a block
Variable-length spanned blocking - variable-length records are used and are packed into blocks with no unsed space
Variable-length unspanned blocking - variable-length records are used without spanning
12.7 - Secondary Storage Management
File AllocationPreallocation vs. Dynamic Allocation
Portion size
Methods to deal with fragmentation
File Allocation Methods:Contiguous allocation
Chained allocation
Indexed allocation
Free Space Management
Bit tables
disk size in bytes8×file system block size\frac{disk~{}size~{}in~{}bytes}{8\times file~{}system~{}block~{}size}
Chained free portions
Indexing
Free block list
Volumes
Reliability
results matching ""No results matching ""Which of the following is the basic element of data where individual field contains a single value such as an employees last name a data or the value of the sensor reading?FIELD: A field is the basic element of data . An individual field contains a single value such as an employee's last name, a date , or the values of a sensor reading .
What is sequential file organization?A sequential file contains records organized by the order in which they were entered. The order of the records is fixed. Records in sequential files can be read or written only sequentially. After you place a record into a sequential file, you cannot shorten, lengthen, or delete the record.
Is the basic element of data where individual field contains a single value?A field is the basic element of data. An individual field contains a single value, such as a last name.
In which file organization data are collected in the order in which they arrive where each record consists of one burst of data?Sequential file organization
Records are stored and accessed in a particular order sorted using a key field.
|