GEOM_PART: a quick update on logical partitions

Marius Nünnerich marius at nuenneri.ch
Tue Feb 3 04:22:56 PST 2009


On Tue, Feb 3, 2009 at 8:21 AM, Martin <nakal at web.de> wrote:
> Am Mon, 02 Feb 2009 11:16:53 -0800
> schrieb Marcel Moolenaar <xcllnt at mac.com>:
>
>>       /dev/da0s2.00000000
>>       /dev/da0s2.0834F7A0
>>       /dev/da0s5 -> /dev/da0s2.00000000
>>       /dev/da0s6 -> /dev/da0s2.0834F7A0
>
> Hi.
>
> As far as I remember, the old MS-DOS scheme for partitioning
> (we have GPT now ;) that I am happy with) implements these logical
> partitions as a linked list. Why not have a simple index pointing to
> the list entry?
>
> Something like this:
>
> /dev/da0s2.1
> /dev/da0s2.2
>
> Might be starting with 1 or perhaps 0.
>
>
> Second thing is, why do you need something like "s5"? I don't like
> these symlinks, because I don't see how you want to support something
> like ".eli" oder ".eli.journal" etc.

I'm not happy with the symlinks either. When someone is manipulating a
partition table she should be able to live with the consequences. I
would rather go for the UUID in UFS header approach if there is enough
room. BTW I implemented GPT UUID glabels a while ago please see:
http://www.freebsd.org/cgi/query-pr.cgi?pr=128398


More information about the freebsd-current mailing list