Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.16 KB

directory.md

File metadata and controls

20 lines (13 loc) · 1.16 KB

Directory

A directory is a list of inodes and file names. When a directory is created by creating its inode (in inode_open_or_create()), the kernel will create two entries: . with the same inode as the new dir and .. with the inode of the parent dir.

Related Syscalls and Apps

Related syscalls:

Loosely related:


Overview: kernel | file_system

File System: init_filesystem | vfs | xv6fs | devfs | block_io | inode | file | directory