Unix - Brief about the directory representation in UNIX

Brief about the directory representation in UNIX

A directory in UNIX is a special file that the kernel maintains. Only the kernel modifies the directory while the processes read them. A directory in UNIX is a association between file names and I node and hence the directory content is nothing but a list of filename and inode number pairs. When a directory is created by the kernel, two entries are made; '.' referring to the directory itself) and '..' referring to parent directory.

Brief about the directory representation in UNIX

A UNIX directory is representing a file that consists of a correspondence between file names and inodes. UNIX treats the directory as a special file. This file is maintained by the kernel. Processes can read the directories and only kernel modifies these directories. At the time of a directory creation, kernel makes two entries namely directory itself and parent directory.
Unix - Discuss the mount and unmount system calls
Discuss the mount and unmount system calls - The attaching of a file system to another file system is done by using mount system call.........
Unix - What are the process states in Unix?
What are the process states in Unix? - UNIX has the following process states:.......
Unix - What is use of sed command?
What is use of sed command? - Sed command in UNIX is commonly used for processing of files.........
Post your comment