aboutsummaryrefslogtreecommitdiff
path: root/release/arm64/make-memstick.sh
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-09-11 14:41:57 +0000
committerEd Maste <emaste@FreeBSD.org>2017-09-11 14:41:57 +0000
commit355534688cec70a5b9c68cc83cae632eaa9f2e2c (patch)
tree7639a1ffb96fbe7d4776dbb448960bbba278cc96 /release/arm64/make-memstick.sh
parentf20be204d6a895f4ed414f7f8fdd53c67bac1dab (diff)
downloadsrc-355534688cec70a5b9c68cc83cae632eaa9f2e2c.tar.gz
src-355534688cec70a5b9c68cc83cae632eaa9f2e2c.zip
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. Reviewed by: andrew, gjb, jhibbits MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12231
Notes
Notes: svn path=/head/; revision=323438
Diffstat (limited to 'release/arm64/make-memstick.sh')
-rwxr-xr-xrelease/arm64/make-memstick.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/arm64/make-memstick.sh b/release/arm64/make-memstick.sh
index 760f362a0d18..8bcbb4677e04 100755
--- a/release/arm64/make-memstick.sh
+++ b/release/arm64/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