GEOM_PART: a quick update on logical partitions

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Mon, 02 Feb 2009 11:16:53 -0800
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_at_mac.com
Received on Mon Feb 02 2009 - 18:16:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC