fdisk

Fox fox at fr.clara.net
Fri Jun 13 03:20:58 PDT 2003


Le Fri, Jun 13, 2003 at 12:15:47PM +0200, Fox ecrivait:
> Le Fri, Jun 13, 2003 at 12:07:13PM +0200, Danny Koenig ecrivait:
> > >
> > > Hi there,
> > >
> > >  is there a way I can get fdisk to give an output in the 'fdisk -l'
> > > linux style ?
> > 
> > What is the Output by doing 'fdisk -l' under linux?
> Here is an example:
> 
> root at fox :/home/fox#fdisk -l
> 
> Disque /dev/hda: 20.4 Go, 20485785600 octets
> 255 têtes, 63 secteurs/piste, 2490 cylindres
> Unités = cylindres de 16065 * 512 = 8225280 octets
> 
> Périphérique Amorce  Begining End    Blocs     Id  System
> /dev/hda1   *        1        608    4883728+  83  Linux
> /dev/hda2            609      627    152617+   82  Linux swap
> /dev/hda3            628      1235   4883760   83  Linux
> /dev/hda4            1236     2490   10080787+ 83  Linux
> root at fox :/home/fox#
'disklabel -r' seems to do *quite* what I want in fact.

-- 
fox at fr.clara.net
Claranet France
--


More information about the freebsd-newbies mailing list