Re: Custom CD Build Error
Dario Freni <[email protected]>
| Newsgroups | gmane.os.freebsd.freesbie |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Nov 17, 2005 at 09:53:43PM -0600, Ben wrote:
> /mnt/backup/freesbie-clone/usr: write failed, filesystem is full
This is a loopfile filesystem. Try this patch:
Index: scripts/clonefs.sh
===================================================================
RCS file: /cvs/freesbie2/scripts/clonefs.sh,v
retrieving revision 1.4
diff -u -r1.4 clonefs.sh
--- scripts/clonefs.sh 7 Nov 2005 12:57:31 -0000 1.4
+++ scripts/clonefs.sh 18 Nov 2005 10:10:06 -0000
@@ -34,7 +34,7 @@
# Find the total dir size and initialize the vnode
DIRSIZE=$(($(du -kd 0 | cut -f 1)))
- FSSIZE=$(($DIRSIZE + ($DIRSIZE/10)))
+ FSSIZE=$(($DIRSIZE + ($DIRSIZE/20)))
dd if=/dev/zero of=${UFSFILE} bs=1k count=${FSSIZE} >> ${LOGFILE} 2>&1
DEVICE=/dev/$(mdconfig -a -t vnode -f ${UFSFILE})
--
FreeSBIE mailing list (http://www.freesbie.org)
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDfajaymi72IiShysRAi8MAJ0QlMMNKwo2M/Zk8z0LZdqdCrw24ACgtMBx xYSzv1276gxJXhVdZD9/f6s= =ZxZG -----END PGP SIGNATURE-----