File System Implementation | operating systems | file system | file management | file control block

preview_player
Показать описание
#filesystemimplementation #oslectures #operatingsystemlectures
On Disk Data Structures

There are various on disk data structures that are used to implement a file system. This structure may vary depending upon the operating system.

Boot Control Block

Boot Control Block contains all the information which is needed to boot an operating system from that volume. It is called boot block in UNIX file system. In NTFS, it is called the partition boot sector.
Volume Control Block

Volume control block all the information regarding that volume such as number of blocks, size of each block, partition table, pointers to free blocks and free FCB blocks. In UNIX file system, it is known as super block. In NTFS, this information is stored inside master file table.
Directory Structure (per file system)

A directory structure (per file system) contains file names and pointers to corresponding FCBs. In UNIX, it includes inode numbers associated to file names.
File Control Block

File Control block contains all the details about the file such as ownership details, permission details, file size,etc. In UFS, this detail is stored in inode. In NTFS, this information is stored inside master file table as a relational database structure. A typical file control block is shown in the image below.
In Memory Data Structure

Till now, we have discussed the data structures that are required to be present on the hard disk in order to implement file systems. Here, we will discuss the data structures required to be present in memory in order to implement the file system.

The in-memory data structures are used for file system management as well as performance improvement via caching. This information is loaded on the mount time and discarded on ejection.

In-memory Mount Table

In-memory mount table contains the list of all the devices which are being mounted to the system. Whenever the connection is maintained to a device, its entry will be done in the mount table.
In-memory Directory structure cache

This is the list of directory which is recently accessed by the CPU. The directories present in the list can also be accessed in the near future so it will be better to store them temporally in cache.
System-wide open file table

This is the list of all the open files in the system at a particular time. Whenever the user open any file for reading or writing, the entry will be made in this open file table.
Per process Open file table

It is the list of open files subjected to every process. Since there is already a list which is there for every open file in the system thereforeIt only contains Pointers to the appropriate entry in the system wide table.
Рекомендации по теме
Комментарии
Автор

the fact that the place is so congested and you're sweating so bad and still putting your heart into explaining the concepts is really impeccable thanks a lot <3

boostedsilverplays
Автор

Description notes helps a lot .I appreciate your hard work

sushmarani
Автор

This channel is far better than multi lakh subscribed channels 😘😘

ankitattri
Автор

Amazing explanation hats off sir for ur efforts 👍

tushithapittala
Автор

Appreciate your hard work well explained 👍

dennispaul
Автор

Though many other channels were coming, you will remain as our best guru sir💯

tinyworld
Автор

Thank youuu very much sir ur lecture is veryyy helpful sir.. Thqq soo much I had written my exam very well just by listening to ur lectures... 🙏😀😀

mannemanasa
Автор

thank you sir....your teaching is very easy to understand

cyxuejl
Автор

subscription done sir. you are an amazing teacher

monowarulislam
Автор

You are helping me a lot sir thank you for your hard work.its really very useful my coos sub becoming very easy through your videos sir .thank you sir🙏

thevlogsofpriya
Автор

Really your explanation is very understandable thank you so much sir

yckieqj
Автор

Tq very much sir ❤ I am fan of your teaching skills sir

prashanthprashanth
Автор

Ur lecture is very much helping me sir thank you

mwlnimf
Автор

Thank you!!! It's highly appreciated.

bethelbahiru
Автор

Thanq sir, your videos are helping alot

chittichinmayi
Автор

Excellent Explanation.. Thank you sir..

acempier
Автор

Tq so such sir.
Your teaching is easy to understand.

SaranSuhas
Автор

Thank you so much sir for your efforts and you are helping me a lot.

anushamacha
Автор

Very good explanation ...Thank you sir ...👍

yasmeentaj
Автор

good lecture...thank you very much sir

keerthanabk