Back
Next
Directories, files, and inodes.
Inode table controls only the files on the partition where it exists.
Each file controlled by its own inode.
Directories list a file's inode # and an associated name.
Every file must have at least one name linked to it but may have several.
For regular files, users can create additional names.
For every name directly associated with a file,
Link count increases by 1 in inode.
As filenames are delete from directory files,
Link count decreases by 1 in inode.
When count is zero, OS frees the data blocks and inode of file.
File can have many different names (links) listed in a directory file.
File can have the same name listed in many different directories
on the same partition.
Moving a file within a particular partition only requires that only the
directories of the starting and ending location be modified. The file
itself is not accessed.