Bob Miller wrote:

> Short answer: every file has contents and it has some "metadata".
> E.g., the content of a text file is the text.  The metadata is its
> owner, group, permissions, size, and some pointers to where the
> content is stored on the disk.  All that metadata is stored in an
> on-disk structure called the i-node (short for indirect node, for
> reasons that have been irrelevant for 25 years).

FYI, the file's NAME is not stored in the inode.  It's stored in the
directory.  Specifically, a directory is nothing more than a set of
<Name, I-number> pairs.  The i-number is an index into the table of
inodes.

-- 
                                        K<bob>
[EMAIL PROTECTED], http://www.jogger-egg.com/

Reply via email to