VFS

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Nov 1 13:51
Editor
Edited
Edited
2023 Dec 6 7:17

Virtual File System

VFS layer is core concept of File System implementation to provide the same interface to user mode processes and a kernel abstraction for all different file system implementations. VFS is a kernel software layer that handles all system calls related to a standard UNIX filesystem.

On-disk

Runtime

VFS Notion
 
 
Virtual File Systems
 
 

Access from task structure

notion image
treat different file system of os
notion image
notion image
kernel memory is flash memory
file is run time data structure
 
 
POSIX 알아보기 #2 : 가상 파일 시스템 VFS(Virtual Filesystem)의 의의와 동작 방식
이제 VFS의 구현에 대해 더 자세히 살펴보겠습니다. VFS는 다양한 파일 시스템과 데이터를 주고받기 위해 4개의 객체(super block, inode, file, dentry)를 이용합니다. super block 객체는 마운트 된 파일 시스템 구조에 관한 정보를 제공하며 파일시스템 당 하나씩 주어집니다. 파일시스템을 마운트 하면 VFS는 파일시스템 고유의 마운트 함수를 호출하면서 인자로 빈 super block 객체를 전달합니다.
POSIX 알아보기 #2 : 가상 파일 시스템 VFS(Virtual Filesystem)의 의의와 동작 방식
 
 
 

Recommendations