6. UFS Architecture



UFS (Unix File System) Architecture:







1. Volume Table of Content (VTOC):
  • It always resides in the sector '0'.
  • Its capacity is 512 bytes 
  • It contains the information about
            i. Disk Label
            ii. No. of assigned slices
            iii. Amount of space allocated for slice

2. Primary Boot Block (PRB):
This boot block contains the boot strap program which is nothing but a bootable file and It always resides to a sector 1 to 15.

3. Secondary Boot Blocks (SBB):
As primary boot block contains the important data, so it's backup has to be maintained. Hence secondary boot block is used, secondary boot block contains the entire information of PBB.

4. INODE:
If you want to create an file we should definitely have an "INODE" number, where INODE block limit of the type of file, the size of file when it is created, when it was modified and the file permissions and it resides from sector 32.