master - fsadm: add --help
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3ae8adce928d4ce6ef36c87c2a0bb8aa737346b8 Commit: 3ae8adce928d4ce6ef36c87c2a0bb8aa737346b8 Parent: 9940c2f754e3292b6d96628682c254941ae6cc58 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Oct 5 10:16:20 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Oct 5 10:23:20 2017 +0200
fsadm: add --help
Newer version of blockdev tool needs --help as the tool is no longer printing help without this option like it used to in past.
--- WHATS_NEW | 1 + scripts/fsadm.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.175 - ====================================== + Use --help with blockdev when checking for --getsize64 support in fsadm. Fix metadata corruption in vgsplit intermediate state. Require LV name with pvmove in a shared VG. Allow shared active mirror LVs with lvmlockd, dlm, and cmirrord.
scripts/fsadm.sh +1 -1
@@ -365,7 +365,7 @@ detect_mounted() { # get the full size of device in bytes detect_device_size() { # check if blockdev supports getsize64 - "$BLOCKDEV" 2>&1 | "$GREP" getsize64 >"$NULL" + "$BLOCKDEV" --help 2>&1 | "$GREP" getsize64 >"$NULL" if test $? -eq 0; then DEVSIZE=$("$BLOCKDEV" --getsize64 "$VOLUME") test -n "$DEVSIZE" || error "Cannot read size of device \"$VOLUME\"."