1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/libdm
Peter Rajnoha 12f5c3f726 libdm: add dm_task_get_uuid_mangled/unmangled
Just like we already have existing mangling support for
device-mapper names, we need exactly the same for device-mapper
UUIDs as their character whitelist is wider than what udev supports.

In case udev is used to create entries in /dev based on UUIDs
and these UUIDs contain characters not supported by udev,
we'll end up with incorrect /dev content for such devices.
So we need to mangle them to a form that is supported by udev.

The mangling used for UUIDs follows the mangling used for names
(that is already supported and used throughout). That means,
setting the name mangling mode via dm_set_name_mangling_mode
affects mangling used for UUIDs in exactly the same manner.
It would be useless to add a new and separate
dm_set_uuid_mangling_mode fn, we'll reuse existing interface.
2012-10-10 16:59:47 +02:00
..
datastruct Use void pointer instead of char for binary key 2011-03-10 12:48:40 +00:00
ioctl libdm: add dm_task_get_uuid_mangled/unmangled 2012-10-10 16:59:47 +02:00
misc dmsetup: allow --noflush with status/wait for thin 2012-07-27 20:03:07 +01:00
mm configure: Use pkg-config to look for valgrind/memcheck.h. 2012-10-09 20:54:41 +02:00
regex cleanup: add __attribute__ ((nonnull(1))) 2012-08-23 14:37:52 +02:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h libdm: add dm_task_get_uuid_mangled/unmangled 2012-10-10 16:59:47 +02:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c libdm: add dm_task_get_uuid_mangled/unmangled 2012-10-10 16:59:47 +02:00
libdm-common.h libdm: refactor internal mangling functions 2012-10-10 16:59:11 +02:00
libdm-config.c config: require dm_config_create_value for dm_config_node's value 2012-08-27 14:33:54 +02:00
libdm-deptree.c libdm: reset delay flag for devs used by thin 2012-10-03 15:04:41 +02:00
libdm-file.c Drop unreachable code 2012-02-08 12:59:45 +00:00
libdm-report.c check: add internal errors for unexpected paths 2012-08-23 14:37:52 +02:00
libdm-string.c libdm-string: Add dm_vasprintf. 2012-07-31 11:12:34 +02:00
Makefile.in configure: Use pkg-config to look for valgrind/memcheck.h. 2012-10-09 20:54:41 +02:00