5. The Filesystem

image

Quick: which of the following would you expect to find in a “filesystem”?

  • Processes

  • Serial ports

  • Kernel data structures and tuning parameters

  • Interprocess communication channels

If the system is Linux, the answer is “all of the above.” And yes, you might find some files in there, too.[1]

Although the basic purpose of a filesystem is to represent and organize the system’s storage resources, programmers have been eager to avoid reinventing the wheel when it comes to managing other types of objects. Frequently, it has proved to be natural and convenient to map these objects into the filesystem namespace. This unification ...

Get Linux Administration Handbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.