Ask a Question

what is the difference between disc inode and incore inode?

on 2011-05-13 18:25:03   by anuraag   on Computer Science & Engineering  1 answers

Rajni

on 2011-05-14 09:30:00  

Difference between in-core Inode and disk Inode The inode is a data structure that describes everything about a file other than their name. When a file is opened then the kernel copies the inode into memory. As the file changes, the in-core inode is updated usually more often than the on-disk copy. And the in-core inode has a few extra fields that are only needed while the file is opened. The fields in the disk inode are: - file owner identifier - file type - file access permissions - file access times (created, last accessed, last modified) - number of links to the file - table of contents for the disk address of data in a file - file size in-core copy of the inode contains - status of the in-core inode - logical device number of file system - inode number - pointers to other in-core inodes - reference count