From: Theodore Ts'o Date: Mon, 20 May 2019 14:56:51 +0000 (-0400) Subject: e2scrub: fix grammar nit: "a LVM" -> "an LVM" X-Git-Tag: v1.45.2~11 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6cf9a7f03fe947ed8acc47955c079ef18f248526;p=tools%2Fe2fsprogs.git e2scrub: fix grammar nit: "a LVM" -> "an LVM" Signed-off-by: Theodore Ts'o --- diff --git a/scrub/e2scrub.8.in b/scrub/e2scrub.8.in index d0c8b25..8ff1dfe 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 666d648..b660e56 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