Files and Directories

In this lesson, we briefly introduce files and directories.

We'll cover the following...

Two key abstractions have developed over time in the virtualization of storage.

File

The first is the file. A file is simply a linear array of bytes, each of which you can read or write. Each file has some kind of low-level name, usually a number of some kind. Often, the user is not aware of this name (as we will see). For historical reasons, the low-level name of a file is often referred to as its inode number. We’ll be learning a lot more about inodes in future chapters. For now, just assume that each file has an inode number associated with it.

In most systems, the OS does not know much about the structure of the file, ...

Access this course and 1400+ top-rated courses and projects.