Skip to Main Content
Operating System Concepts Essentials, Second Edition
book

Operating System Concepts Essentials, Second Edition

by Abraham Silberschatz, Peter B. Galvin, Greg Gagne
November 2013
Beginner content levelBeginner
784 pages
26h 32m
English
Wiley
Content preview from Operating System Concepts Essentials, Second Edition

images

File-System Implementation

As we saw in Chapter 10, the file system provides the mechanism for on-line storage and access to file contents, including data and programs. The file system resides permanently on secondary storage, which is designed to hold a large amount of data permanently. This chapter is primarily concerned with issues surrounding file storage and access on the most common secondary-storage medium, the disk. We explore ways to structure file use, to allocate disk space, to recover freed space, to track the locations of data, and to interface other parts of the operating system to secondary storage. Performance issues are considered throughout the chapter.

CHAPTER OBJECTIVES

  • To describe the details of implementing local file systems and directory structures.
  • To describe the implementation of remote file systems.
  • To discuss block allocation and free-block algorithms and trade-offs.

11.1 File-System Structure

Disks provide most of the secondary storage on which file systems are maintained. Two characteristics make them convenient for this purpose:

  1. A disk can be rewritten in place; it is possible to read a block from the disk, modify the block, and write it back into the same place.
  2. A disk can access directly any block of information it contains. Thus, it is simple to access any file either sequentially or randomly, and switching from one file to another requires ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Operating System Concepts Essentials

Operating System Concepts Essentials

Peter Baer Galvin, Abraham Silberschatz, Greg Gagne
Operating System Concepts, 9th Edition

Operating System Concepts, 9th Edition

Abraham Silberschatz, Peter B. Galvin, Greg Gagne
Operating System Concepts, 8th Edition

Operating System Concepts, 8th Edition

ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, GREG GAGNE

Publisher Resources

ISBN: 9781118804926Purchase bookOtherOther