Partitions/Disks/Filesystems

by admin on August 13, 2009 · 0 comments

Listing Disks and Partitions

Using fdisk with the -l option will output information on any hard
drives connected to the system and information on their partitions (for
example, the type of partition).

fdisk -lDisk /dev/hda: 40.0 GB, 40020664320 bytes255 heads, 63 sectors/track, 4865 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System/dev/hda1   *         1       638   5124703+   b  Win95 FAT32/dev/hda2           639      3826  25607610    f  Win95 Ext'd (LBA)/dev/hda3          3827      3883    457852+  82  Linux swap/dev/hda4          3884      4865   7887915    c  Win95 FAT32 (LBA)/dev/hda5           639      1913  10241406    7  HPFS/NTFS/dev/hda6          1914      1926    104391   83  Linux/dev/hda7          1927      3826  15261718+  83  Linux

Previous post:

Next post: