On 10/25/07, Theo de Raadt <[EMAIL PROTECTED]> wrote:
> > I noticed one problem with the disklabel output while installing 4.2
> > It automatically detected the file system in my first slice which is
> > fat32 wrongly as 4.2BSD
>
> disklabel does not "automatically detect" filesystem types.
>

Thank you so much for the reply :-)

I went through the disklabel(5) and disklabel(8) man pages meanwhile.
And this is what I understood.

The disklabel information is ( created and ) located on a place called
"LABELSECTOR "
usually sector 0 during the first OpenBSD install. usually it is on sector "0"

So in my case

1: A6   1216   0  1 -   2431 254 63 [    19535040:    19535040 ] OpenBSD

it is located on sector 0 of head 0 of cylinder 1216.

initially when the disk label was created file systems of partitions
i,j,k,l,m were not marked anything

==============================================
6 partitions:
#                size           offset  fstype [fsize bsize  cpg]
 a:         18309312         19535040  4.2BSD   2048 16384    1
 b:          1225728         37844352    swap
 c:         78165360                0  unused      0     0
 i:         19534977               63  4.2BSD   2048 16384  328
 j:         15631245         39070080  ext2fs
 k:           995967         54701388 unknown
 l:         11711322         55697418  ext2fs
 m:         10747422         67408803  ext2fs
===============================================

And then I marked them Specifically some how as 4.2BSD ex2fs etc.
I don't remember well how.

Now that I am Installing 4.2 on the same slice as where 4.0 resided
earlier disklabel is reading the data from sector 0 of head 0 of
cylinder 1216.

or am I totally confused and need to read a book that speaks about
disklabel and disk basics? :-)



> in the past, you have SPECIFICALLY said it was a 4.2 filesystem on
> that partition.
>

It is really cool if I did that :-)
I don't remember ho but

Thank you so much

Kind Regards

Siju

Reply via email to