Chuck Anderson wrote:
On Thu, Apr 30, 2009 at 02:55:56PM -0400, Gerry Reno wrote:
This is till causing major headaches.
Once a system has had its device names changed to /dev/dm-N style then
how are we supposed to know when there is a conflict with device
mounting. /proc/mounts will show our LVM mounting by it's normal LVM
names such as /dev/mapper/VolGroup01-LogVol00 but 'blkid' will have no
listing for this device under that name any longer. It will have
/dev/dm-N entries. But how are we to correlate these devices? If our
scripts attempt to mount /dev/dm-1 because it has no mount showing under
/proc/mounts the script gets an error because the same device is mounted
as /dev/mapper/VolGroup01-LogVol00. How are we to tell that these
devices have the same UUID when 'blkid' only lists one of them?
Compare the device major/minor numbers.
Yeah, we can do that. That's really low level. I'll just be glad when
these /dev/dm-N devices are removed from user space. They have broken a
lot of stuff.
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list