Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177849190
D58978.1795426681.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
824 B
Referenced Files
None
Subscribers
None
D58978.1795426681.diff
View Options
diff --git a/tools/tools/nanobsd/gpt.sh b/tools/tools/nanobsd/gpt.sh
--- a/tools/tools/nanobsd/gpt.sh
+++ b/tools/tools/nanobsd/gpt.sh
@@ -76,6 +76,8 @@
printf_fstab "/dev/gpt/efiboot0" /boot/efi msdosfs rw,noauto 2 2
fi
printf_fstab "/dev/gpt/${NANO_ROOT}" / ufs ro 1 1
+ # XXXJL We cannot mount to /${NANO_PARTITION_CFG} unless we save this
+ # variable under /etc/nanobsd.conf and adjust the scripts. Should we do that?
printf_fstab /dev/gpt/${NANO_PARTITION_CFG} /cfg ufs rw,noauto 2 2
if [ "$NANO_SWAP_SIZE" -gt 0 ]; then
if [ -n "$NANO_SWAP_ENCRYPTION" ]; then
@@ -84,6 +86,9 @@
printf_fstab "/dev/gpt/swap0" none swap sw 0 0
fi
fi
+ if [ "$NANO_DATASIZE" -ne 0 ]; then
+ printf_fstab /dev/gpt/${NANO_PARTITION_DATA} /${NANO_PARTITION_DATA} ufs rw,noauto 2 2
+ fi
tgt_touch etc/fstab
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 9:38 AM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41927201
Default Alt Text
D58978.1795426681.diff (824 B)
Attached To
Mode
D58978: nanobsd: Handle the data partition in fstab
Attached
Detach File
Event Timeline