fixed mkfs options to stop failure when sunit and swidth are set as MKFS_OPTIONS

Merge of master-melb:xfs-cmds:26322a by kenmcd.

  fixed mkfs options to stop failure when sunit and swidth are set as MKFS_OPTIONS.
This commit is contained in:
Allan Randall
2006-06-23 02:57:44 +00:00
parent f861369a2a
commit 176a17cc7c
+1
View File
@@ -114,6 +114,7 @@ _supported_os Linux
_require_scratch
_require_loop
MKFS_OPTIONS="" #ignore external MKFS_OPTIONS
_scratch_mkfs_xfs -dsize=41m,agcount=2 | _filter_mkfs 2>/dev/null
_scratch_mount 2>/dev/null || _fail "initial scratch mount failed"