MadSci Network: Computer Science

Re: what is a inode,what is its functionality ,what does it do

Date: Thu Nov 11 18:07:21 1999
Posted By: Mike Westerfield, Staff, Computer Science, Byte Works, Inc.
Area of science: Computer Science
ID: 941749773.Cs

Unix and Unix-like operating systems donít really access files by name, the 
way you do when you type a name in the shell. The path name you use is 
looked up in a directory. Once it is resolved, you might expect that the 
result would be the file, or perhaps information about all of the various 
places on a disk where the file is actually stored. In fact, what you get 
after looking up the name of a file is a number. This number is called the 
inode number, and the inode number is really how the operating system refers 
to the file. Just as a variable name in, say, C really gets translated into 
an address that the computer really uses to find the value, a file name gets 
converted to an inode number that is really used to find information about 
the file.

Once it has the inode number, the operating system knows how to find a 
structure that contains more information about the file, like the chunks of 
the disk called blocks where the information in the file is actually stored. 
This structure is also called the inode.


Current Queue | Current Queue for Computer Science | Computer Science archives

Try the links in the MadSci Library for more information on Computer Science.

MadSci Home | Information | Search | Random Knowledge Generator | MadSci Archives | Mad Library | MAD Labs | MAD FAQs | Ask a ? | Join Us! | Help Support MadSci

MadSci Network,
© 1995-1999. All rights reserved.