Brief about the directory representation in UNIX. A Unix directory is a file containing a correspondence between filenames and inodes. A directory is a special file that the kernel maintains. Only kernel modifies directories, but processes can read directories. The contents of a directory are a list of filename and inode number pairs. When new directories are created, kernel makes two entries named '.' (refers to the directory itself) and '..' (refers to parent directory). System call for creating directory is mkdir (pathname, mode). - Study24x7
Social learning Network
16 Feb 2023 02:29 PM study24x7 study24x7

Brief about the directory representation in UNIX. A Unix directory is a file containing a correspondence between filenames and inodes. A directory is a special file that the kernel maintains. Only kernel modifies directories, but processes can read directories. The contents of a...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles