Re: Inodes

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 14 May 2001 15:57:32 -0400 (EDT)


Blesson Paul writes:

> This is an another doubt related to VFS. I want to know
> wheather all files are assigned their inode number at the
> mounting time itself or inodes are assigned to files upon
> accessing only

That would depend on what type of filesystem you use.
For ext2, inode numbers are assigned at file creation.
For vfat, inode numbers are assigned as needed, and
forgotten when not needed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/