Directories and Files

Now that the principal aspects of infrastructure have been explained, let's discuss the representation of directories that define the topology of filesystems. As noted in Chapter 8, directories — as in classic Unix filesystems — are nothing more than special files with pointers to inodes and their filenames to represent files and subdirectories in the current directory. This is also true in the Second Extended Filesystem. Each directory is represented by an inode to which data blocks are assigned. The blocks contain structures to describe the directory entries. The data structure needed to do this is defined as follows in the kernel sources:

Continue reading here: Info

Was this article helpful?

0 0