Week 6 - The LOGICAL Structure of disks Flashcards

1
Q

Desrcibe the basic logical structure of a disk

A

The OS doesn’t really care about the physical structure of the HDD, it needs logical representation.

Logical structure consists of:

MBR (Master Boot Record)

PARTITIONS

UNALLOCATED SPACE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the MBR

A

The master boot record occupies the first sector on a HDD (LBA 0). It is one sector in size (512 bytes)

It contains:

  • the PARTITION TABLE (max 64 bytes)
  • BOOT CODE (instructions for start up executed when the computer is switched on). Boot code is 446 bytes

SIGNATURE (2 bytes) 0x 55 AA - always at the end of the MBR (the last 2 bytes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are partitions?

A

Partitions are areas of the disk that can be used to store a file system.

The file system is a set of structures that govern the location of data on a disk.

Common file systems are NTFS, FAT, EXT, HFS etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The Partition Table Structure

(the Partition Table Entry Structure is available in exams - remebmer these multi byte values will be in LE so need converting)

A

The partition table is 64 bytes.
Every partition needs an entry on the partition table, each entry is 16 bytes (per partition).
Means you can have up to 4 partitions.

But, these can be extended with Extended Boot Records EBRs, these have same structure as MBR

So there are really 3 types of partition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Desribe the 3 types of partition

A

PRIMARY: Each primary partition stores a single file system. Details are in the MBR partition table.

EXTENDED: Used to overcome the 4 partition limit. Contain LOGICAL partitions.

LOGICAL: Each partition stores a single file system. Details are in the EBR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly