Code:
root@rusty:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006056f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 299837439 149917696 83 Linux
/dev/sda2 299839486 312578047 6369281 5 Extended
/dev/sda5 299839488 312578047 6369280 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3c2adfba
Device Boot Start End Blocks Id System
/dev/sdb1 63 206847 103392+ 42 SFS
/dev/sdb2 206848 307199999 153496576 42 SFS
/dev/sdb3 307200000 1953523119 823161560 42 SFS