Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167907099
D58978.id184603.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
823 B
Referenced Files
None
Subscribers
None
D58978.id184603.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
@@ -78,6 +78,8 @@
printf_fstab "/dev/gpt/efiboot0" /boot/efi msdosfs rw,noauto 2 2
fi
printf_fstab "/dev/gpt/${NANO_ROOT}" / ufs ro 1 1
+ # XXX: 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
@@ -86,6 +88,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
Wed, Aug 26, 9:19 AM (2 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37047240
Default Alt Text
D58978.id184603.diff (823 B)
Attached To
Mode
D58978: nanobsd: Handle the data partition in fstab
Attached
Detach File
Event Timeline
Log In to Comment