Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 572 Bytes

vfs.md

File metadata and controls

16 lines (10 loc) · 572 Bytes

VFS

Superblock

Representation of mounted filesystem. properties: - device, where the fs is located - fs type - block size - flags - root inode pointer (!) - low level operations on the filesystem

Inode

File of any type. Represents everything, except the filename! properties: - includes pointers to blocks with data!!! - owner, group, perms info - inode number, file size. - date & time of most recent access

Dentry

It maps file names to to inodes properties: - filename - inode pointer that represents file - pointer to parent dirent - counter of usages