






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of file systems in operating systems, covering their organization, access methods, and allocation techniques. It explains the concepts of virtual and physical files, directories, access control, and process view of files. The document also discusses various access methods like sequential, direct, mapped, and structured, and the information kept in disk directory files. Additionally, it covers the allocation of disk blocks to files using contiguous, linked, and indexed methods.
Typology: Study notes
1 / 11
This page cannot be seen from the preview
Don't miss anything!







Goal To learn how files are represented both in memory and on the secondary storage devices.
File Systems A file is a collection of data. There are two aspects of it:
Access Control Typical protection modes are: read, write, append, delete, privilege (allows modification of others' rights), owner (indicates owner of file), and search (grants permission to search directory). example: UNIX; note difference in meaning of execute for files and directories. implementation: describe access lists, abbreviation association of rights: are privileges associated with a name or a file? That is, if x is an alias for y, can a user have read permission on x but not on y?
Process View of File Processes operate on files using the following commands:
Informati on in disk dire ctory file A disk directory is like a directory for a disk; it describes what blocks are in use and which are free. This means it must keep track of what blocks are not in use; such a list is a free list. Several representations:
implementation issue If you need more than 1 index block, link them together. Or, use indirection: if you can have 256 pointers/block, 2 levels of indirection allows 256^2 = 65,536 blocks. example: UNIX scheme: the first 12 blocks of a file are data, the 13th is an index block, the 14th is a doubly-indexed block ( ie, it contains pointers to index blocks), and the 15th is a triply-indexed block ( ie, it contains pointers to doubly-indexed blocks)
Network File Systems These require that the system know where the file is kept, and be able to communicate with the server.