A file is a pool of data in the filesystem. On userlevel, it's referenced using a name, a hardlink to the file.

If a file is not referenced anymore (number of hardlinks to it drops to 0) then the space allocated for that file is re-used, unless it's still used by some process.

The file-data splits into actual payload (file contents) and some metadata like filesize, filemode or timestamps. The metadata is stored in the inode.

Strictly spoken, a hardlink (also called "filename") points to the inode which organizes a file, not to the file itself.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
You could leave a comment if you were logged in.
  • dict/terms/file.txt
  • Last modified: 2009/02/24 06:25
  • (external edit)