html5-img
1 / 11

Disk Partition

Disk Partition. Booting the operating system Primary Boot Sector (sector 0) – MBR and Partition Table – allocate the active partition and jump to it’s secondary boot sector Active Partition – the loader of the OS is in the secondary boot sector – set the OS file system

duscha
Download Presentation

Disk Partition

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Disk Partition • Booting the operating system • Primary Boot Sector (sector 0) –MBR and Partition Table – allocate the active partition and jump to it’s secondary boot sector • Active Partition – the loader of the OS is in the secondary boot sector – set the OS file system • inactive partition – the secondary boot sector is ignored – additional file system

  2. Disk Formatting and Partitioning • Disk Partitioning • MS-DOS /Linux – fdisk • MS-DOS partitions can mount as separate drives • Linux – one partition for root file system and one for swap file system • Disk Formatting • Setup the partition with the file system structure • MS-DOS format – bootstrap code, FAT, root directory • UNIX mkfs – bootstrap code ,super block , i-nodes

  3. Case Study: UNIX

  4. Case Study: UNIX

  5. Case Study: UNIX

  6. Case Study: UNIX • i-node structure is small , fixed size • Smaller files can be accessed quickly – larger files longer • How big can a file be ? • Assume 1K disk block and 32 bit address • 10Kb + 256 * 1K + 256*256*1K + 256*256*256*1K > 16GB

  7. Case Study: UNIX

  8. Case Study: DOS / Windows

  9. Directory implementation • File name + Extension - 8 + 3 Bytes • Attribute – 1 Byte • Time + Date – 4 Bytes • First Block Number – 2 Bytes • Size – 4 Bytes

  10. Case Study: DOS / Windows

  11. Case Study: Windows NT (2000) -NTFS

More Related