spanskiblog/content/posts/VFS.md

35 lines
723 B
Markdown
Raw Normal View History

2022-12-24 17:42:40 +01:00
2022-12-24 17:09:22 +01:00
+++
2023-02-27 21:59:02 +01:00
date="2023-02-03"
2022-12-24 17:09:22 +01:00
author="spanskiduh"
title="VFS"
2022-12-24 17:42:40 +01:00
description="click to read about VFS"
2022-12-24 17:09:22 +01:00
+++
# 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