OS-File System

An important component of an operating system is the file system. File systems generally contain Access Methods – these are concerned wi...

An important component of an operating system is the file system. File systems generally contain
  • Access Methods – these are concerned with the manner in which data stored in files is accessed.
  • File Management – This is concerned with providing the mechanisms for files to be stored, referenced, shared and secured.
  • Auxiliary storage Management – This is concerned with allocating space for files on secondary storage devices.
  • File integrity mechanisms – These are concerned with guaranteeing that the information in a file is uncorrupted.
The file system is primarily concerned with managing secondary storage space, particularly disk storage. Let us assume an environment of a large-scale timesharing system supporting approximately 100 active terminals accessible to a user community of several thousand users. It is common for user accounts to contain between 10 and 100 files. Thus with a user community of several thousand users, a system disks might contain 50,000 to 1,00,000 or more separate files. These files need to be accessed quickly to keep response times small.

A file system for this type of environment may be organized as follows. A root is used to indicate where on disk the root directory begins. The root directory points to the various user directories. A user directory contains an entry for each of a user’s files; each entry points to where the corresponding file is stored on disk.

Files names should be unique within a given user directory. In hierarchically structured file systems, the system name of a file is usually formed as pathname from the root directory to the file. For eg., in a two-level file system with users A,B and C and in which A has files PAYROLL and INVOICES, the pathname for file  PAYROLL is A:PAYROLL. 


Best Online Tutorials | Source codes | Programming Languages: OS-File System
OS-File System
Best Online Tutorials | Source codes | Programming Languages
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content