summaryrefslogtreecommitdiffstats
path: root/release/amd64
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-10-07 20:14:30 +0000
committeremaste <emaste@FreeBSD.org>2017-10-07 20:14:30 +0000
commit888db8b0385bf25f5c6c872726c8eafee7c2469f (patch)
tree1a28cc35e9fbd4cc4f3c7e36c96c4e66ee18a94d /release/amd64
parent718d3c582f5f9effe11e9237a22ef3ef5b147ea5 (diff)
downloadFreeBSD-src-888db8b0385bf25f5c6c872726c8eafee7c2469f.zip
FreeBSD-src-888db8b0385bf25f5c6c872726c8eafee7c2469f.tar.gz
MFC r323438: make-memstick.sh: use UFSv2
There's not much practical difference as far as install media is concerned but newfs creates UFSv2 by default and it is sensible to use the contemporary UFS version. I also intend to change makefs to create UFSv2 by default (to match newfs) so we'll want make-memstick.sh to be explicit, rather than relying on the host tool's default. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/amd64')
-rwxr-xr-xrelease/amd64/make-memstick.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/make-memstick.sh b/release/amd64/make-memstick.sh
index 64edb73..3a15157 100755
--- a/release/amd64/make-memstick.sh
+++ b/release/amd64/make-memstick.sh
@@ -32,7 +32,7 @@ fi
echo '/dev/ufs/FreeBSD_Install / ufs ro,noatime 1 1' > ${1}/etc/fstab
echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local
-makefs -B little -o label=FreeBSD_Install ${2}.part ${1}
+makefs -B little -o label=FreeBSD_Install -o version=2 ${2}.part ${1}
rm ${1}/etc/fstab
rm ${1}/etc/rc.conf.local
OpenPOWER on IntegriCloud