tc@box:~$ sudo su
root@box:~# fdisk -lu /dev/hda
Disk /dev/hda: 15.3 GB, 15307407360 bytes
16 heads, 63 sectors/track, 29660 cylinders, total 29897280 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 63 27344015 13671976+ 83 Linux
/dev/hda2 27344016 29897279 1276632 82 Linux swap
root@box:~#
root@box:~# fdisk -l
Disk /dev/hda: 15.3 GB, 15307407360 bytes
16 heads, 63 sectors/track, 29660 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 27127 13671976+ 83 Linux
/dev/hda2 27128 29660 1276632 82 Linux swap
Disk /dev/loop0: 0 MB, 221184 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/loop0 doesn't contain a valid partition table
Note: sector size is 4096 (not 512)
Disk /dev/ramzswap0: 123 MB, 123359232 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Disk /dev/ramzswap0 doesn't contain a valid partition table
Disk /dev/loop10: 0 MB, 512000 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/loop10 doesn't contain a valid partition table
Disk /dev/loop20: 0 MB, 425984 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/loop20 doesn't contain a valid partition table
Disk /dev/loop30: 0 MB, 311296 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/loop30 doesn't contain a valid partition table
root@box:~#