return to first page linux journal archive
keywordscontents

Listing 1. Output from fdisk

garden:~# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 255 heads, 63 sectors, 522 cylinders
Units =3D cylinders of 16065 * 512 bytes
Device    Boot   Begin  Start    End   Blocks      Id   System
/dev/sda1   *        1      1    261  2096451       6   DOS 16-bit >=3D32M
/dev/sda2          262    262    510  2000092+     83   Linux native
/dev/sda3          511    511    522    96390      82   Linux swap
garden:~# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 255 heads, 63 sectors, 522 cylinders
Units =3D cylinders of 16065 * 512 bytes
Device    Boot   Begin    Start      End   Blocks   Id  System
/dev/sdb1            1        1      522  4192933+  83  Linux native