Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 14:50:27 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188606 - head/release/scripts
Message-ID:  <200902141450.n1EEoRgL023079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Sat Feb 14 14:50:27 2009
New Revision: 188606
URL: http://svn.freebsd.org/changeset/base/188606

Log:
  Specify 4096 block-size and 512 fragment-size.
  This fixes no space error.

Modified:
  head/release/scripts/doFS.sh

Modified: head/release/scripts/doFS.sh
==============================================================================
--- head/release/scripts/doFS.sh	Sat Feb 14 11:34:57 2009	(r188605)
+++ head/release/scripts/doFS.sh	Sat Feb 14 14:50:27 2009	(r188606)
@@ -73,12 +73,9 @@ dofs_md () {
 
 	if [ "x${DISKLABEL}" != "x" ] ; then
 		${DISKLABEL} ${MACHINE} -w ${BOOT} ${MDDEVICE} ${FSLABEL}
-		newfs -O1 -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}
-		mount /dev/${MDDEVICE} ${MNT}
-	else
-		newfs -O1 -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}
-		mount /dev/${MDDEVICE} ${MNT}
 	fi
+	newfs -O1 -b 4096 -f 512 -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}
+	mount /dev/${MDDEVICE} ${MNT}
 }
 
 rm -f ${FSIMG}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902141450.n1EEoRgL023079>