Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Unix%20Interview%20Questions%20and%20Answers

Question: What is 'inode'?
Answer: All UNIX files have its description stored in a structure called 'inode'. The inode contains
info about the file-size, its location, time of last access, time of last modification,
permission and so on. Directories are also represented as files and have an associated
inode. In addition to descriptions about the file, the inode contains pointers to the data
blocks of the file. If the file is large, inode has indirect pointer to a block of pointers to
additional data blocks (this further aggregates for larger files). A block is typically 8k.
Inode consists of the following fields:
File owner identifier
File type
File access permissions
File access times
Number of links
File size
Location of the file data
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook