[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fdisk



Erwan MAS <erwan@mas.nom.fr> writes:

> Hello ,
> 
> I don't understand something in the sparc version of fdisk .
> 
> fdisk -l /dev/hda
> 
> /dev/hda1             0       406    204624   83  Linux native
> /dev/hda2  u        406      3453   1535688   82  Linux swap
> /dev/hda3             0     12019   6057576    5  Whole disk
> /dev/hda4          3453      7516   2047752   83  Linux native
> /dev/hda5          7516     11579   2047752   83  Linux native
> 
> /dev/hda1 end with cyl. 406 and /dev/hda2 start with cyl. 406 .
> 
> All boundaries are the same between the partition and the precedent
> partition .
> 
> On my pc a partition start with the cylinder of the precedent
> partition + 1 .

The Sun disklabel format is different than the PC format: with the
former, the "end" cylinder is not included in the slice. Your
partition table looks good.

> the first 512 byte of /dev/hda and the 512 byte of  /dev/hda1 are
> identical .

That's the case if hda1 starts at cylinder 0. And it is unlike the PC
where the first 512 bytes (the MBR) is not part of any partition.
 
> the partition must be start at cyl. 0 or at cyl. 1 ?

Cylinder 0, if you're you going to use silo.

Phil.



Reply to: