http://bugzilla.novell.com/show_bug.cgi?id=501773
User puzel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=501773#c12
Petr Uzel changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P2 - High
--- Comment #12 from Petr Uzel 2009-06-15 02:00:38 MDT ---
Status update:
Besides removing code [*] which updates partition mappings from parted, it is
also necessary to implement new udev rule for kpartx. Current kpartx rules can
only add partition mappings, but not update/delete them, which is needed in
case some partitions are removed by parted.
Implementing such rule in turn requires some changes in kpartx utility, namely
something like 'update' option (in addition to existing add/delete options).
With this option, kpartx would rescan the partition table and add/delete
partition mappings as needed (note that this is not equal to running kpartx -d
followed by kpartx -a since kpartx does not remove partition mappings for
non-existent partitions).
My plan is to implement kpartx -u, then match it to udev 'change' uevent for DM
devices and then replace the [*] with issuing 'change' uevent for the device,
which should let udev 'do the right thing'.
Any comments are welcome.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.