Home    Scripts    Utilities     Products     Awards     Contact Me
   Summary   Creating Partitions   File Systems   Mounting   File System Files   /etc/fstab

Partitions/Disks/Filesystems

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 -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = 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

SourceForge.net Logo






All trade marks are property of respective owners
All rights reserved 2003-2009, Openpages.info, Multan, Pakistan
ExecutiveIM.com and OpenPages.Info are projects of Open Pages Research and Development.
          Contact Me