Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177580531
D57218.1794793249.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D57218.1794793249.diff
View Options
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -107,7 +107,7 @@
# Newfs parameters to use
NANO_NEWFS="-b 4096 -f 512 -i 8192 -U"
-NANO_MAKEFS="-o bsize=4096,density=8192,fsize=512,softupdates=1,version=2"
+NANO_MAKEFS="-o bsize=4096,density=8192,fsize=512,minfree=0,optimization=space,softupdates=1,version=2"
# The drive name of the media at runtime
NANO_DRIVE=ada0
diff --git a/tools/tools/nanobsd/legacy.sh b/tools/tools/nanobsd/legacy.sh
--- a/tools/tools/nanobsd/legacy.sh
+++ b/tools/tools/nanobsd/legacy.sh
@@ -171,7 +171,7 @@
else
echo "Partition will not be bootable"
fi
- nano_makefs "-DxZ ${NANO_MAKEFS} -o minfree=0,optimization=space" \
+ nano_makefs "-DxZ ${NANO_MAKEFS}" \
"${NANO_METALOG}" "${CODE_SIZE}" "${NANO_OBJ}/_.disk.part" \
"${NANO_WORLDDIR}"
mkimg -s bsd \
@@ -305,7 +305,7 @@
if [ "$NANO_IMAGES" -gt 1 ] && [ "$NANO_INIT_IMG2" -gt 0 ] ; then
echo "Duplicating to second image..."
tgt_switch_root_fstab "${NANO_SLICE_ROOT}" "${NANO_SLICE_ALTROOT}"
- nano_makefs "-DxZ ${NANO_MAKEFS} -o minfree=0,optimization=space" \
+ nano_makefs "-DxZ ${NANO_MAKEFS}" \
"${NANO_METALOG}" "${CODE_SIZE}" "${NANO_OBJ}/_.altroot.part" \
"${NANO_WORLDDIR}"
tgt_switch_root_fstab "${NANO_SLICE_ALTROOT}" "${NANO_SLICE_ROOT}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 16, 1:40 AM (19 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41754461
Default Alt Text
D57218.1794793249.diff (1 KB)
Attached To
Mode
D57218: nanobsd: Unify makefs(8) ffs options
Attached
Detach File
Event Timeline