Names of Windows partitions

Doug Stewart dastew at sympatico.ca
Wed Jun 18 09:54:35 UTC 2008


xerces8 wrote:
> "cat /proc/partitions" gives a good list of present hard drives
>
> Also "fdisk -l" gives a usable list of all hard drives (and their partitions).
>
> Regards,
> David
>
>
>
>   
I tried these two commands  ( just to learn ), and got a surprise.
 
this is the result from      cat /proc/partitions > catpart



major minor  #blocks  name

   8     0  312571224 sda
   8     1    51199123 sda1
   8     2  102398310 sda2
   8     3    21093345 sda3
   8     4                  1 sda4
   8     5      6032376 sda5
   8     6  126447552 sda6
   8     7      5397808 sda7



this is the result from   sudo fdisk -l  > fdskl.txt

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x27f227f1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *              1         6374     51199123+   7  HPFS/NTFS
/dev/sda2             6375       19122   102398310     7  HPFS/NTFS
/dev/sda3           19123       21748     21093345    83  Linux
/dev/sda4           21749       38913   137877862+   5  Extended
/dev/sda5           38163       38913       6032376    82  Linux swap / 
Solaris
/dev/sda6           21749       37490   126447552    83  Linux
/dev/sda7            37491      38162       5397808+  82  Linux swap / 
Solaris

Partition table entries are not in disk order



Why is sda4 so different???????????????????????

Doug Stewart





More information about the ubuntu-users mailing list