mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
udev: do not verify udev operations for --noudevsync
If udev synchronization is disabled by means of --noudevsync option, we should disable just the synchronization and nothing else. The udev fallback (verifying udev operations and fixing the nodes/symlinks if found incorrect) is orthogonal and controlled by a separate activation/verify_udev_operations configuration option.
This commit is contained in:
parent
2be940e549
commit
fb8cc7c63f
@ -1,5 +1,6 @@
|
||||
Version 2.02.99 -
|
||||
===================================
|
||||
Do not verify udev operations if --noudevsync command option is used.
|
||||
Fix lvm2api and return lvseg discards property as string.
|
||||
Allow forced vgcfgrestore of lvm2 metadata with thin volumes.
|
||||
Recognise STEC skd devices in filter.
|
||||
|
@ -901,10 +901,8 @@ static int _get_settings(struct cmd_context *cmd)
|
||||
} else
|
||||
init_trust_cache(0);
|
||||
|
||||
if (arg_count(cmd, noudevsync_ARG)) {
|
||||
if (arg_count(cmd, noudevsync_ARG))
|
||||
cmd->current_settings.udev_sync = 0;
|
||||
cmd->current_settings.udev_fallback = 1;
|
||||
}
|
||||
|
||||
/* Handle synonyms */
|
||||
if (!_merge_synonym(cmd, resizable_ARG, resizeable_ARG) ||
|
||||
|
Loading…
Reference in New Issue
Block a user