[linux-lvm] libdevmapper's handling of devices with spaces in the name
psusi at ubuntu.com
Wed Feb 26 22:17:13 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 2/26/2014 4:40 PM, Zdenek Kabelac wrote:
> It would also probably help to describe what kind of app which
> uses libdevmapper you are trying to develop...
I'm trying to fix parted to not fail on such devices. As I said
originally it fails because it calls dm_task_get_name() to find out
the true /dev/mapper/ name of the device, so that it can add the
partition number to it and be able to open the partition. Now that I
look at the comment in the headers, it sounds like perhaps it just
should be using dm_task_get_name_mangled() instead.
I'm also still wondering why udev can't simply handle quoted names
with spaces in them. People have been dealing with this sort of thing
in shell for years...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the linux-lvm