Who the fdisk?
Found another cool time saver tip. For me I find myself looking for partition mount points. So I usually do:
fdisk /dev/hda The number of cylinders for this disk is set to 4982. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 40.9 GB, 40982151168 bytes 255 heads, 63 sectors/track, 4982 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 523 4096575 83 Linux /dev/hda3 524 778 2048287+ 83 Linux /dev/hda4 779 4982 33768630 5 Extended /dev/hda5 779 909 1052226 82 Linux swap /dev/hda6 910 4982 32716341 8e Linux LVM
I would do this for all drives, or if I didn't know what device, I could run through the alphabet. Most recently I was searching for a USB thumb drive I just plugged in. So here is my time saver tip just learned today:
fdisk -l Disk /dev/hda: 40.9 GB, 40982151168 bytes 255 heads, 63 sectors/track, 4982 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 523 4096575 83 Linux /dev/hda3 524 778 2048287+ 83 Linux /dev/hda4 779 4982 33768630 5 Extended /dev/hda5 779 909 1052226 82 Linux swap /dev/hda6 910 4982 32716341 8e Linux LVM Disk /dev/hdb: 30.0 GB, 30000000000 bytes 255 heads, 63 sectors/track, 3647 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 3647 29294496 8e Linux LVM Disk /dev/hdc: 20.4 GB, 20409532416 bytes 16 heads, 63 sectors/track, 39546 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdc1 1 39546 19931152+ 8e Linux LVM Disk /dev/hdd: 22.5 GB, 22527590400 bytes 255 heads, 63 sectors/track, 2738 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 2738 21992953+ 8e Linux LVM
Looky looky, all my drives that make up my boxtop backup server. Will have to post the pic of that here soon.
Amazing what use 'man' is..