1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Peter Rajnoha 9ec1097099 Unamngle dm device name list automatically on ioctl return.
If dm_task_get_name or dm_task_get_names gets called, these will return
unmangled form of the names so the name mangling stays totally transparent
to any libdevmapper user (unless DM_STRING_MANGLING_NONE is used in which
case the name is not touched and it is is returned as it is in kernel).

For example:

dmsetup create "a b" - will create a\x20b device in kernel and so udev will
create /dev/mapper/a\x20b

dm_task_get_name/names will still return "a b"

In AUTO mode, the libdevmapper user can still query the device by using
the mangled ("a\x20b") or unmangled form of the name when calling dm_task_set_name.
If mangled name is provided, it's detected and the name is kept as it is.
If unmangled name is provided, it will be mangled. IOW in AUTO mode it's
totally transparent and it should not require any changes in the code
using libdevmapper.

However, any libdevmapper user must be aware of the fact that the mangled form
of the name appears in /dev/mapper (udev just can't deal with those blacklisted
characters).
2012-02-15 12:01:28 +00:00
autoconf Using Fedora 14's autoreconf. 2011-01-07 14:38:34 +00:00
daemons lvmetad server-side update: 2012-02-15 11:43:06 +00:00
doc pre-release 2012-01-26 14:02:42 +00:00
include Do not scan device if it is part of active multipath. 2011-11-11 15:11:08 +00:00
lib autoreconf 2012-02-15 11:20:12 +00:00
libdm Unamngle dm device name list automatically on ioctl return. 2012-02-15 12:01:28 +00:00
liblvm Add internal error for unsupported code paths 2012-02-13 11:25:56 +00:00
man Use m and M lv_attr to indicate that a snapshot merge failed in lvs. 2012-01-20 22:03:03 +00:00
old-tests Move tests from old-tests/regex to unit-tests/regex. unit-tests will 2010-07-20 15:18:57 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00:00
report-generators add copyright notices to new files 2010-07-28 12:20:38 +00:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts Clean up systemd unit ordering and requirements. 2012-02-01 13:08:39 +00:00
test In the test harness, do the back-substitution (@TESTDIR@, @PREFIX@) also on the 2012-02-15 01:31:10 +00:00
tools Change confusing message that is printed when a RAID device fails. 2012-02-13 18:38:36 +00:00
udev Update udev rules to skip DM flags decoding for removed devices 2011-08-11 17:55:29 +00:00
unit-tests [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
aclocal.m4 Add aclocal.m4 (for pkgconfig). 2011-01-07 16:27:05 +00:00
configure autoreconf 2012-02-15 11:20:12 +00:00
configure.in Add configure --with-default-name-mangling. 2012-02-15 11:17:57 +00:00
COPYING Outline docs 2001-12-31 16:12:40 +00:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in Superfluous '/' in systemd_dir path. 2012-02-13 17:31:14 +00:00
Makefile.in User correct base dir for lcov reports 2012-02-01 10:46:45 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2012-02-13 00:23:21 +00:00
VERSION_DM post-release 2012-02-13 00:23:21 +00:00
WHATS_NEW Make conversion from a synced 'mirror' to 'raid1' not cause a full resync. 2012-02-13 20:13:39 +00:00
WHATS_NEW_DM Add dm_task_get_name_mangled/unmangled to libdevmapper. 2012-02-15 11:39:38 +00:00

This tree contains the LVM2 and device-mapper tools and libraries.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sources.redhat.com/pub/lvm2/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel