Sunday, October 5, 2014

File Table

Linux kernel maintain the list of opened file in a table called file table.  The index to the table is the file descriptor.  The file table entries contain information about the file such as pointer to the inode image in memory and file meta data such as access mode and file position.

Child process received a copy of the file table verbatim from its parent.  Subsequent changes to the file table will not affect the parent state.

No comments: