Monday, February 11, 2013

where is the inode table stored?how many fields are thier in an inode table?

When a Linux filesystem is created, its structure is specified and a table
that maps file references (names) to actual physical location is created.
Almost all information related to a file is stored in this table. This *inode
table* is central to Linux. The inode table contains an entry for every file
in the Linux filesystem. This entry indicates the file's actual location on
the disk. The entry also contains information about the file's owner and
permissions, among other things. Each file on the filesystem contains a
pointer (in bytes) to the offset of the file's entry in the inode table; the
OS 'jumps' the offset amount of bytes to get to the file's entry in the
inode table.



Solution Given by Group Members

it is generally stored at the starting of the block where file is started.
and this inode is loaded into main memory , stored in a table,which is used
for further accesses.

Go through with the below link for detailed information.

http://book.opensourceproject.org.cn/kernel/kernel3rd/opensource/0596005652/understandlk-chp-18-sect-2.html
 

No comments:

Post a Comment