[plug] Disk partitions and Swap file

Leon Brooks leon at brooks.fdns.net
Mon Dec 24 07:50:38 WST 2001


On Sunday 23 December 2001 23:11, Robert Andrews wrote:
> The bios reports the drive as having 8447 meg

> Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
> Units = cylinders of 16065 * 512 bytes

Total size == 1027 * 16065 * 512 == 8,447,362,560 bytes

Bytes / 10^20 (1048576) == 8056 megabytes (not 8447 million bytes)

>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1         3     24066   83  Linux

Boot partition, approx 24MB

> /dev/hda2             4      1027   8225280    5  Extended

Extended partition, CONTAINS hda5+

> /dev/hda5             4      1018   8152956   83  Linux

Root partition, approx 8GB

> /dev/hda6          1019      1027     72261   82  Linux swap

Swap partition, approx 72MB

> /dev/hda6          swap         swap    defaults 0 0

> Now my question is do i need to modify the fstab file to include
> /dev/hda2 and /dev/hda6

hda6 is already in it (as swap) and hda2 is not a real partition, it contains 
hda5 and hda6.

Cheers; Leon



More information about the plug mailing list