On Wed, 07 Sep 2005 14:26:26 -0500 Ken Ray <[EMAIL PROTECTED]> wrote:
> > Bob, I don't have Linux handy, but my web search showed you can use: > > sfdisk -s > > through the shell to get the list of partitions and their sizes (I think you > need to be logged in as root). It will come up with something like this: > > /dev/hda: 12345678 > /dev/hdb: 45678901 > total: 92929292 > > Drives aren't "named" per se, but they can be identified in this way, > AFAICT. > For a list of all drives use: [EMAIL PROTECTED]:~$ sudo sfdisk -s /dev/hda: 58652496 total: 58652496 blocks For a list of all partitions use: [EMAIL PROTECTED]:~$ sudo sfdisk -l Disk /dev/hda: 116374 cylinders, 16 heads, 63 sectors/track Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. Warning: The partition table looks like it was made for C/H/S=*/255/63 (instead of 116374/16/63). For this listing I'll assume that geometry. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 0+ 499 500- 4016218+ 7 HPFS/NTFS /dev/hda2 500 999 500 4016250 7 HPFS/NTFS /dev/hda3 * 1000 7300 6301 50612782+ f W95 Ext'd (LBA) /dev/hda4 0 - 0 0 0 Empty /dev/hda5 1000+ 1005 6- 48163+ 83 Linux /dev/hda6 1006+ 3006 2001- 16073001 83 Linux /dev/hda7 3007+ 4507 1501- 12056751 83 Linux /dev/hda8 4508+ 4555 48- 385528+ 82 Linux swap / Solaris /dev/hda9 4556+ 4561 6- 48163+ 83 Linux /dev/hda10 4562+ 6141 1580- 12691318+ 83 Linux /dev/hda11 6142+ 7300 1159- 9309636 83 Linux Chris _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
