From babc4d82b927e6a283974b3c92aa54e85cf386bc Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Sat, 27 Dec 2003 13:34:27 +0000 Subject: [PATCH] force (-f) mkfs.xfs - otherwise it will slilently fail if an xfs is already present on the parition. git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2070 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/sysfiles/stone_mod_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base/sysfiles/stone_mod_install.sh b/package/base/sysfiles/stone_mod_install.sh index e4c4fc325..4283fd7fb 100644 --- a/package/base/sysfiles/stone_mod_install.sh +++ b/package/base/sysfiles/stone_mod_install.sh @@ -65,7 +65,7 @@ part_mkfs() { if type -p mkfs.xfs > /dev/null ; then cmd="$cmd 'SGI XFS (journaling filesystem)'" - cmd="$cmd 'mkfs.xfs /dev/$1/$2'" + cmd="$cmd 'mkfs.xfs -f /dev/$1/$2'" fi eval "$cmd" && part_mount $1 $2