Operating System/System Programming(Arif Butt)

Lec12) UNIX File System Architecture

Tony Lim 2021. 6. 27. 22:00
728x90

File System Architecture , Links, Special File Permission , Access Control Lists (Lec 20,21,23,24) (tistory.com)

 

File System Architecture , Links, Special File Permission , Access Control Lists (Lec 20,21,23,24)

in this file system there are 498784 inodes and so on.' tune2fs == allows the system adminstrator to adjust various tunable filesystem parameters on linux ext2, ext3, ext4 filesystems. i only type..

tonylim.tistory.com

 

directory is just file system that is managed by kernel.

notice very block has pointer to its parent.

 

 

per process file descriptor table (PPFDT) = every process have their own PPFDT

a process can open a file twice. if this is done by calling open() twice, then there will be two different entries in PPFTD as well as in SWFT for that single file 

there can be only one unique i-node

calling dup() , there will be 2 entries in PPFDT but only one entry in SWFT.

when you read descriptor 3 and later read with descriptor5 current offset will not start from zero.

child process will inherit PPFDT of parent process. both descriptor4 is point to same SWFT.

same as above both pointer are sharing same SWFT.

 

 

728x90