mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-30 05:49:28 +03:00
Remove dev name prefix from dmsetup line output if major and minor is used.
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.66 -
|
Version 1.02.66 -
|
||||||
===============================
|
===============================
|
||||||
|
Remove dev name prefix from dmsetup line output if major and minor is used.
|
||||||
Remove support for the original version 1 dm ioctls.
|
Remove support for the original version 1 dm ioctls.
|
||||||
Add missing check for allocation failure _create_dir_recursive().
|
Add missing check for allocation failure _create_dir_recursive().
|
||||||
Add support for systemd file descriptor handover in dmeventd.
|
Add support for systemd file descriptor handover in dmeventd.
|
||||||
|
@ -3478,7 +3478,8 @@ int main(int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
doit:
|
doit:
|
||||||
multiple_devices = (argc != 2 && cmd->repeatable_cmd);
|
multiple_devices = (cmd->repeatable_cmd && argc != 2 &&
|
||||||
|
(argc != 1 || (!_switches[UUID_ARG] && !_switches[MAJOR_ARG])));
|
||||||
do {
|
do {
|
||||||
if (!cmd->fn(cmd, argc--, argv++, NULL, multiple_devices)) {
|
if (!cmd->fn(cmd, argc--, argv++, NULL, multiple_devices)) {
|
||||||
fprintf(stderr, "Command failed\n");
|
fprintf(stderr, "Command failed\n");
|
||||||
|
Reference in New Issue
Block a user