1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha 421671b1c2 Several changes to udev support code:
- we have these levels when the udev rules are processed:
   10-dm.rules --> [11-dm-<subsystem>.rules] --> [12-dm-permissions.rules] -->
   13-dm-disk.rules --> [...all the other foreign rules...] --> 95-dm-notify.rules

 - each level can be disabled now by
   DM_UDEV_DISABLE_{DM, SUBSYSTEM, DISK, OTHER}_RULES_FLAG

 - add DM_UDEV_DISABLE_DM_RULES_FLAG to disable 10-dm.rules

 - add DM_UDEV_DISABLE_OTHER_RULES_FLAG to disable all the other (non-dm) rules.
   We cutoff these rules by using the 'last_rule', so this one should really be
   used with great care and in well-founded situations. We use this for lvm's
   hidden and layer devices now.

 - add a parameter for add_dev_node, rm_dev_node and rename_dev_node so it's
   possible to switch on/off udev checks

 - use DM_UDEV_DISABLE_DM_RULES_FLAG and DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG
   if there's no cookie set and we have resume, remove and rename ioctl.
   This could happen when someone uses the libdevmapper that is compiled with
   udev_sync but the software does not make use of it. This way we can switch
   off the rules and fallback to libdevmapper node creation so there's no
   udev/libdevmapper race.
2009-10-26 14:29:33 +00:00
..
activate Several changes to udev support code: 2009-10-26 14:29:33 +00:00
cache Remember to clear 'global lock held during cache refresh' state after use. 2009-10-22 17:33:09 +00:00
commands Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
config Fix the "const discarded" warnings introduced in the unknown segment patch. 2009-10-22 10:38:07 +00:00
datastruct Update error return and comments for lvm_list_vg_names/uuids. 2009-07-27 11:00:17 +00:00
device Fix pvcreate on a partition (regressed in 2.02.51). 2009-08-19 15:34:33 +00:00
display Permit snapshots of mirrors. (brassow) 2009-10-26 10:01:56 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Fix pvcreate on a partition (regressed in 2.02.51). 2009-08-19 15:34:33 +00:00
format1 Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
format_pool Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
format_text Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
locking Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
log Fix so only log_error and log_fatal set EUNCLASSIFIED. 2009-07-16 13:13:33 +00:00
metadata Permit snapshots of mirrors. (brassow) 2009-10-26 10:01:56 +00:00
mirror Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
misc Provide alternative implementation of obsolete siginterrupt(). 2009-09-28 21:23:02 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Permit snapshots of mirrors. (brassow) 2009-10-26 10:01:56 +00:00
snapshot Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
striped Add global/si_unit_consistency to enable cleaned-up use of units in output. 2009-09-28 16:23:44 +00:00
unknown Fix the "const discarded" warnings introduced in the unknown segment patch. 2009-10-22 10:38:07 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00