From 6cf9a7f03fe947ed8acc47955c079ef18f248526 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 20 May 2019 10:56:51 -0400 Subject: [PATCH] e2scrub: fix grammar nit: "a LVM" -> "an LVM" Signed-off-by: Theodore Ts'o --- scrub/e2scrub.8.in | 2 +- scrub/e2scrub.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scrub/e2scrub.8.in b/scrub/e2scrub.8.in index d0c8b252..8ff1dfe0 100644 --- a/scrub/e2scrub.8.in +++ b/scrub/e2scrub.8.in @@ -7,7 +7,7 @@ e2scrub [OPTION] MOUNTPOINT | DEVICE .SH DESCRIPTION .B e2scrub attempts to check (but not repair) all metadata in a mounted ext[234] -filesystem if the filesystem resides on a LVM logical volume. +filesystem if the filesystem resides on an LVM logical volume. The block device of the LVM logical volume can also be passed in. This program snapshots the volume and runs a file system check on the snapshot diff --git a/scrub/e2scrub.in b/scrub/e2scrub.in index 666d6485..b660e569 100644 --- a/scrub/e2scrub.in +++ b/scrub/e2scrub.in @@ -18,7 +18,7 @@ # along with this program; if not, write the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -# Automatically check a LVM-managed filesystem online. +# Automatically check an LVM-managed filesystem online. # We use lvm snapshots to do this, which means that we can only # check filesystems in VGs that have at least 256MB (or so) of # free space. @@ -41,7 +41,7 @@ test -f "${conffile}" && . "${conffile}" print_help() { echo "Usage: $0 [OPTIONS] mountpoint | device" echo - echo "mountpoint must be on a LVM-managed block device" + echo "mountpoint must be on an LVM-managed block device" echo "-n: Show what commands e2scrub would execute." echo "-r: Remove e2scrub snapshot and exit, do not check anything." echo "-t: Run fstrim if successful." @@ -161,7 +161,7 @@ lvm_vars="$(lvs --nameprefixes -o name,vgname,lv_role --noheadings "${dev}" 2> / eval "${lvm_vars}" if [ -z "${LVM2_VG_NAME}" ] || [ -z "${LVM2_LV_NAME}" ] || echo "${LVM2_LV_ROLE}" | grep -q "snapshot"; then - echo "${arg}: Not connnected to a LVM logical volume." + echo "${arg}: Not connnected to an LVM logical volume." print_help exitcode 16 fi