Information AboutInode |
| CATEGORIES ABOUT INODE | |
| computer file systems | |
| unix | |
|
Non-traditional Unix-style filesystems such as ReiserFS may avoid having a table of inodes, but must store equivalent data in order to provide equivalent functionality. The data may be called Stat Data , in reference to the Stat System Call which provides the data to programs.The kernel's in-memory representation of this data is called struct inode in Linux . Systems derived from BSD use the term vnode, with the v of '''vnode''' referring to the kernel's Virtual File System layer.The POSIX standard mandates filesystem behavior that is strongly influenced by traditional UNIX filesystems. Regular files are required to have the following attributes:
The term ''inode'' usually refers to inodes on Block Device s that manage regular files, directories, and possibly Symbolic Link s. The concept is particularly important to the recovery of damaged file systems. The inode number is an Integer unique to the device upon which it is stored. All files are hard links to inodes. Whenever a program refers to a file by name, the system conceptually uses the filename to look up the corresponding inode. The Stat system call retrieves a file's inode number and some of the information in the inode.The exact reasoning for designating these as "i" nodes is unsure. When asked, Unix pioneer Dennis Ritchie replied: :'In truth, I don't know either. It was just a term that we started to use. "Index" is my best guess, because of the slightly unusual file system structure that stored the access information of files as a flat array on the disk, with all the hierarchical directory information living aside from this. Thus the i-number is an index in this array, the i-node is the selected element of the array. (The "i-" notation was used in the 1st edition manual; its hyphen became gradually dropped).' Example of structure: IMPLICATIONS The properties of a file system that makes use of the concept of inodes surprises many users who are not used to it at first:
PRACTICAL CONSIDERATIONS Many Computer Program s used by System Administrator s in UNIX Operating System s often give i-node numbers to designate a file. Popular Disk integrity checking utility Fsck or Pfiles command may serve here as examples.Thus need arises to translate i-node numbers to File Pathname s and vice versa. This can be accomplished using file-finding utility Find with option -inum or Ls command with proper option which on many platforms is -i.EXTERNAL LINKS |
|
|