| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] make xfs_info work on mountpoints with spaces |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Wed, 28 Nov 2007 22:03:40 -0600 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.9 (Macintosh/20071031) |
I don't know why one would make mountpoints with spaces, but apparently people do: [Bug 402621] New: xfs_info doesn't handle mountpoint with spaces https://bugzilla.redhat.com/show_bug.cgi?id=402621 I'm no bash expert but I think this solves it: Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx> --- --- xfs-cmds.orig/xfsprogs/growfs/xfs_info.sh 2007-11-28 09:14:02.000000000 -0600 +++ xfs-cmds/xfsprogs/growfs/xfs_info.sh 2007-11-28 09:21:49.000000000 -0600 @@ -16,10 +16,10 @@ ;; esac done -set -- extra $@ +set -- extra "$@" shift $OPTIND case $# in - 1) xfs_growfs -p xfs_info -n $OPTS $1 + 1) xfs_growfs -p xfs_info -n $OPTS "$1" status=$? ;; *) echo $USAGE 1>&2 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | PARTIAL TAKE 971186 - kill superflous buffer locking (2nd attempt), Lachlan McIlroy |
|---|---|
| Next by Date: | REVIEW: Improve "." and ".." problem detection and handling in xfs_repair, Barry Naujok |
| Previous by Thread: | PARTIAL TAKE 971186 - kill superflous buffer locking (2nd attempt), Lachlan McIlroy |
| Next by Thread: | REVIEW: Improve "." and ".." problem detection and handling in xfs_repair, Barry Naujok |
| Indexes: | [Date] [Thread] [Top] [All Lists] |