File system Provides facilities which enable user to create files, assign
meaningful meanings, specify how the files are to be shared
Input output control Implements efficient organization and access of data in files system IOCS Lowest layer 1. Mechanism for Facilities provided by IOCS: storage and access of data 2. Modules to perform efficient file processing 1. Directory Facilities provided by FS: structures and file naming 2. Protection of files 3. Static and dynamic sharing of files 4. Reliable storage of files Created or manipulated IOCS views a file as an entity which is __ or __ by application Owned FS views a file as an entity which __ by a user. Sharing Is simply a matter of permitting user to access files Protection Permitting the owner of a file Field Single data Records Collection of related fields File Collection of records Record Meaningful unit for processing of data File processing Reading or writing of records in a file 1. File creation File operations: 2. File naming 3. File modification 4. File deletion 5. File access privileges Directory Contains information about a group of files User directory Directory owned by user Master directory Store info concerning different UDs Root Directories for all users Flags Used to indicate whether a file is a dir or data file Access path or path Path in the dir hierarchy Path Unambiguous method of designating a file Path name Sequence of one or more path components separated by / Relative path names Path names starting on the current directory Absolute path names Path names starting on the root Absolute path names Unambiguous way of referring to a file Link Directed connection between 2 existing file, ordered triple Read, write, execute 3 kinds of access privileges Read and wirte Privileges that indicate whether the file can be read or modified by a user Write Privilege permits existing data in the file to be modified and also permits new data to be added Execute Privilege that permits a user to execute the program contained in the file Direct memory access Data is transferred between an I/o device and the memory without (DMA) involving CPU Purpose: input, print, Characteristics of i/o devices storage Nature: sequential or random Data transfer mode: character and block mode i/o volume Unit of I/o medium Tape or cartridge Strip of magnetic material Disk Flat circular object which rotates around its own axis Platter Flat circular object called Disk pack Many platters mounted on the same spindle Cylinder Collection of identically positioned tracks Sector interleaving Used to optimize the throughput of a disk RAID Redundant array of inexpensive disks Reliability of data Purpose of RAID: storage Fast access of data High data transfer rates