Chapter 4: Red Hat Linux File System


This chapter discusses the file systems used by Red Hat Linux. In particular, it focuses on three areas:

  • The structure and organization of the Red Hat Linux file system, including the directory layout and organization of files

  • The features and management of the ext3 (third extended) file system, including how data is formatted and managed in that system

  • The /proc virtual file system

The Red Hat Linux File System

The Red Hat file system uses a single consistent structure, which is described in the following section.

Why Share a Common Structure?

An operating system’s file system structure is its most basic level of organization. Almost all of the ways an operating system interacts with its users, applications, and security model are dependent upon the way it stores its files on a storage device. It is crucial for a variety of reasons that users, as well as programs, be able to refer to a common guideline to know where to read and write files. A file system can be seen in terms of two different logical categories of files:

  • Shareable versus unshareable files

  • Variable versus static files

Shareable files are those that can be accessed by various hosts; unshareable files are not available to any other hosts. Variable files can change at any time without any intervention; static files, such as read-only documentation and binaries, do not change without an action from the system administrator or an agent that the system administrator has placed in motion to accomplish that task.

The reason for looking at files in this way is to help you understand the type of permissions given to the directory that holds them. The way in which the operating system and its users need to use the files determines the directory where those files should be placed, whether the directory is mounted read-only or read-write, and the level of access allowed on each file. The top level of the file system must be organized properly, using a known structure, or security and user access problems may arise.

However, simply having a structure does not mean very much unless it is a standard. Competing structures can actually cause more problems than they fix. Because of this, Red Hat has chosen the most widely used file system structure and extended it only slightly to accommodate special files used within Red Hat Linux.




Official Red Hat Linux Administrator's Guide
Official Red Hat Linux Administrators Guide
ISBN: 0764516957
EAN: 2147483647
Year: 2002
Pages: 278
Authors: Red Hat Inc

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net