# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
-local_enable="YES"
+
+ifconfig_em0=85.10.211.30
+defaultrouter=85.10.211.31
+ifconfig_re0_ipv6="inet6 accept_rtadv"
echo set up zfs pool: ${ZPOOL} alt mount: ${DESTDIR}
echo =================
-zpool create -m none -f -R ${DESTDIR} ${ZPOOL} ${DESTDISK}p3
+zpool create -m none -f -R ${DESTDIR} ${ZPOOL} ${DESTDISK}p3 ada1
if [ "${?}" -ne 0 ]; then
echo "unable to create zpool"
exit 1
fi
-for I in ROOT VAR HOME; do
+for I in ROOT VAR HOME DATA; do
zfs create -o mountpoint=none -o canmount=off ${ZPOOL}/${I}
done
zfs create -o atime=off -o mountpoint=/ ${ZPOOL}/ROOT/master
+
zfs create -o mountpoint=/usr/obj ${ZPOOL}/ROOT/obj
zfs create -o compression=off -o mountpoint=/usr/src ${ZPOOL}/ROOT/src
-zfs create -o copies=1 -o mountpoint=/usr/doc -o compression=on ${ZPOOL}/ROOT/doc
+zfs create -o mountpoint=/usr/doc -o compression=on ${ZPOOL}/ROOT/doc
# useless ? as far /tmp mountpoint will be mounted by tmpfs
zfs create -o mountpoint=/tmp ${ZPOOL}/ROOT/tmp
for I in base.txz kernel.txz lib32.txz; do
- fetch http://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/12.0-ALPHA8/${I}
+ fetch http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.2-RELEASE/${I}
tar --unlink -pJxf ${I} -C ${DESTDIR}
done