Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2009 11:16:53 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        FreeBSD Current <current@freebsd.org>
Subject:   GEOM_PART: a quick update on logical partitions
Message-ID:  <FCA8C5E4-BC41-4711-9EBC-CD692144F6B8@mac.com>

next in thread | raw e-mail | index | archive | help
All,

In case people are wondering: I'm working on proper support for
logical partitions. This should also allow us to create and
modify them. Of course when you add or remove a partition, the
index changes and consequently the device name. I still need
to find a good solution for that. Currently I'm thinking that
we should create the device special file that contains the
sector offset (which is the one constant) and create compatibility
symlinks. For example:

	/dev/da0s2.00000000
	/dev/da0s2.0834F7A0
	/dev/da0s5 -> /dev/da0s2.00000000
	/dev/da0s6 -> /dev/da0s2.0834F7A0

The idea is that the logical name (i.e. the symlink) change when
you add or remove a partition, but that all references (i.e. mount
information) are against the fixed name.

In any case: I hope to have something in a few weeks. If you know
of a good way to deal with adding/removing partitions, let me know.

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FCA8C5E4-BC41-4711-9EBC-CD692144F6B8>