diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2010-06-01 16:08:13 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2010-06-01 16:08:13 +0000 |
commit | ee83186ecc6ca2098cab49300b06ad25dda329c8 (patch) | |
tree | b8f2b3cadf1069806d84af9a97b409226383debd /libdm/misc | |
parent | 03023d39650e5e699e3996660c39dfe32d3cf406 (diff) | |
download | lvm2-ee83186ecc6ca2098cab49300b06ad25dda329c8.tar.gz |
Add support for dm-mod module autoload.
A kernel patch is on its way for 2.6.35 adding support for dm-mod module
autoload. Udev v155 and higher is able to read static node information given
in modules.devname (extracted by depmod before) and will create such nodes
at its start. The first access to such node will load the module automatically
(directly in kernel) before the actual read/write operation is processed.
Diffstat (limited to 'libdm/misc')
-rw-r--r-- | libdm/misc/dm-ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdm/misc/dm-ioctl.h b/libdm/misc/dm-ioctl.h index a7b80f6a5..c5b3860ab 100644 --- a/libdm/misc/dm-ioctl.h +++ b/libdm/misc/dm-ioctl.h @@ -13,6 +13,7 @@ #endif #define DM_DIR "mapper" /* Slashes not supported */ +#define DM_CONTROL_NODE "control" #define DM_MAX_TYPE_NAME 16 #define DM_NAME_LEN 128 #define DM_UUID_LEN 129 |