diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-05-19 15:34:00 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-05-19 15:34:00 +0000 |
| commit | af7b2a826ce2705a05d72f45c27c6f9c217ac937 (patch) | |
| tree | 8094a0dd1887be2362371f09ecf89b9b72422ca7 /tools | |
| parent | 3ed04604010e7097c9200550beb4d9ff473bd675 (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/tools/nanobsd/i386.diskimage | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/tools/nanobsd/i386.diskimage b/tools/tools/nanobsd/i386.diskimage index 6ede3d8dd1f8..01e1b5cf77ce 100644 --- a/tools/tools/nanobsd/i386.diskimage +++ b/tools/tools/nanobsd/i386.diskimage @@ -27,6 +27,8 @@ WD=$8 IMG=$9 CFGMASTER=${10} +NEWFSPARAM="-b 4096 -f 512 -i 8192" + TMPFILE0=`mktemp -t nanobsd` TMPFILE1=`mktemp -t nanobsd` TMPMNT=`mktemp -d -t nanobsd` @@ -84,7 +86,7 @@ bsdlabel -w -B ${MD}s1 # Prepare primary root slice -newfs ${PRIROOTLABEL} -O1 -U ${MD}s1a +newfs ${NEWFSPARAM} ${PRIROOTLABEL} -O1 -U ${MD}s1a mount /dev/${MD}s1a ${TMPMNT} (cd ${WD} && find . -print | cpio -dump ${TMPMNT}) || true make_fstab ${PRIROOTSLICE} ${TMPMNT} @@ -103,7 +105,7 @@ umount ${TMPMNT} # Prepare configuration slice -newfs ${CFGLABEL} -O1 -U ${MD}s3 +newfs ${NEWFSPARAM} ${CFGLABEL} -O1 -U ${MD}s3 if [ -d "${CFGMASTER}" ]; then mount /dev/${MD}s3 ${TMPMNT} ( cd ${CFGMASTER} && find . -print | cpio -dumpl ${TMPMNT} ) |
