Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173848898
D38317.id116170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38317.id116170.diff
View Options
diff --git a/tools/boot/full-test.sh b/tools/boot/full-test.sh
--- a/tools/boot/full-test.sh
+++ b/tools/boot/full-test.sh
@@ -172,7 +172,7 @@
autoboot_delay=2
# XXX not so good for ZFS, what to do?
#vfs.root.mountfrom="ufs:/dev/ufs/root"
-vfs.root.mountfrom="zfs:linuxboot/"
+#vfs.root.mountfrom="zfs:linuxboot/"
zfs_load="YES"
boot_verbose=yes
kern.cfg.order="acpi,fdt"
@@ -444,6 +444,10 @@
ufs=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.ufs
img=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.img
mkdir -p ${IMAGES}/${ma_combo}
+ mkdir -p ${dir2}/etc
+ cat > ${dir2}/etc/fstab <<EOF
+/dev/ufs/root / ufs rw 1 1
+EOF
makefs -t msdos -o fat_type=32 -o sectors_per_cluster=1 \
-o volume_label=EFISYS -s100m ${esp} ${src}
makefs -t ffs -B little -s 200m -o label=root ${ufs} ${dir} ${dir2}
@@ -488,6 +492,10 @@
ufs=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.ufs
img=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.img
mkdir -p ${IMAGES}/${ma_combo}
+ mkdir -p ${dir2}/etc
+ cat > ${dir2}/etc/fstab <<EOF
+/dev/ufs/root / ufs rw 1 1
+EOF
makefs -t ffs -B big -s 200m \
-o label=root,version=2,bsize=32768,fsize=4096,density=16384 \
${ufs} ${dir} ${dir2}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 29, 9:24 PM (22 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39899953
Default Alt Text
D38317.id116170.diff (1 KB)
Attached To
Mode
D38317: test: Add fstab to all ufs images
Attached
Detach File
Event Timeline
Log In to Comment