Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 1995 09:00:39 +0200 (MET DST)
From:      gvrooij@mmra1.ms.philips.nl (Guido van Rooij)
To:        pst@shockwave.com (Paul Traina)
Cc:        jkh@freefall.cdrom.com, freebsd-bugs@freefall.cdrom.com
Subject:   Re: kern/280: new slice manager totally confused about old slice disks
Message-ID:  <9503290700.AA23134@mmra1.ms.philips.nl>
In-Reply-To: <199503290525.VAA01190@precipice.shockwave.com> from "Paul Traina" at Mar 28, 95 09:25:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Aha, ok, this worked for me, I now understand a lot more about the slice
> scheme (took only 30 seconds wall clock time and 1 second CPU time).
> 

I still dont get it completely. At first I thought the slices referred
to `fdisk partition' and partitions to `BSD partitions'.
But now I'm not sure anymore, as I saw slice 5 as well. Or do we support
extended slices now?
Further: I *know* 2.0R made releases where disklable would complain about
partition c and d extending past the end of the drive (due to the total
#sec > #secpertrack * #heads * #cyl. I guess the option to use the rest
of the drive for a partition took all sectors left, while not checking
the consistency of all drive params).
How is that handled by this new scheme?

> I would suggest documenting the living hell out of this.
> 

Yep.

> The gratuitous kernel printfs when accessing the label are a bit much,
> do they only happen when booting in verbose mode?
> 
> sd0s1: start 32, end = 511999, size 511968: OK
> sd0s4: start 512000, end = 3514367, size 3002368: OK
> sd0: rejecting partition in BSD label: it isn't entirely within the slice

What exactly does this message mean? And, more important, what are its
consequences on operation?

> This is not going to be fun to support,  but I have to admit that it's
> far nicer than the old organization.  Kudos to all.
> 

It looks nice at first sight, but I haven't got the feeling that I completely
understand it (yet).

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503290700.AA23134>