From: agk@sourceware.org <agk@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/scripts fsadm.sh
Date: 17 Dec 2007 14:47:25 -0000 [thread overview]
Message-ID: <20071217144725.7003.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2007-12-17 14:47:24
Modified files:
scripts : fsadm.sh
Log message:
tweak usage text
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/fsadm.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2
--- LVM2/scripts/fsadm.sh 2007/12/17 12:31:50 1.1
+++ LVM2/scripts/fsadm.sh 2007/12/17 14:47:22 1.2
@@ -64,24 +64,26 @@
IFS_OLD=$IFS
tool_usage() {
- echo "${TOOL}: Utility to resize underlying filesystem"
- echo "Usage:"
- echo " ${TOOL} [options] check|resize device [size]"
- echo " -h | --help show this help"
- echo " -v | --verbose be verbose"
- echo " -f | --force forces to proceed"
- echo " -e | --ext-offline unmount filesystem before Ext2/3 resize"
- echo " -n | --dry-run print commands rather than running them"
- echo " -y | --yes answer \"yes\" to automatically proceed"
- echo " check run fsck"
- echo " resize resize given device to new size"
- echo " size in filesystem blocks"
- echo " add B to specify Bytes (i.e.: 1000000B)"
- echo " add K to specify KiloBytes (1024B)"
- echo " add M to specify MegaBytes (1024KB)"
- echo " add G to specify GigaBytes (1024MB)"
- echo " add T to specify TeraBytes (1024GB)"
- echo " (if unspecified full device is used)"
+ echo "${TOOL}: Utility to resize or check the filesystem on a device"
+ echo
+ echo " ${TOOL} [options] check device"
+ echo " - Check the filesystem on device using fsck"
+ echo
+ echo " ${TOOL} [options] resize device [new_size[BKMGT]]"
+ echo " - Change the size of the filesystem on device to new_size"
+ echo
+ echo " Options:"
+ echo " -h | --help Show this help message"
+ echo " -v | --verbose Be verbose"
+ echo " -e | --ext-offline unmount filesystem before Ext2/3 resize"
+ echo " -f | --force Bypass sanity checks"
+ echo " -n | --dry-run Print commands without running them"
+ echo " -y | --yes Answer \"yes\" at any prompts"
+ echo
+ echo " new_size - Absolute number of filesystem blocks to be in the filesystem,"
+ echo " or an absolute size using a suffix (in powers of 1024)."
+ echo " If new_size is not supplied, the whole device is used."
+
exit
}
next reply other threads:[~2007-12-17 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 14:47 agk [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-08 16:45 LVM2/scripts fsadm.sh zkabelac
2010-10-08 11:18 zkabelac
2010-11-10 10:03 zkabelac
2010-11-11 12:17 zkabelac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071217144725.7003.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.