Hi,
> Depends on the size of the file. Read the stuff about single, double
> and triple indirect inodes in some UNIX text - Bach or McKusick for example.
Correct me if I am wrong, but I guess when you talk about "double
and triple indirect inodes" you actually meant "double and triple indirect
blocks". I don't think inodes are used to double and triple indirect
mappings. AFAIK, each inode holds a list of blocks that the file occupies,
initially there is a list of plain disk blocks the file occupies, followed
by one (or may be more, depending on the file system) indirect block,
which essentially holds a list of blocks within it, and a double indirect
block.
Each inode on disk represents one file exactly. When you have two
links to a file, the respective entries in the directory (for the two
links) point to the same inode in inode table. By links I mean hard links,
not symlinks.
In essence an inode is a file.
Regards,
Kedar.
----------------------------------------------------------------
Kedar N. Patankar.
Senior Software Engineer.
ishoni Networks
...Broadband for everyone
http://www.ishoni.com
email - [EMAIL PROTECTED]
Phone: +91-80-2292125 (Work)
Fax: +91-80-2995545 (Work)
----------------------------------------------------------------
Don't worry over what other people are thinking about you.
They're too busy worrying over what you are thinking about them.
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.