Label installer root filesystem

This commit is contained in:
Sam & Claude 2026-05-13 17:25:44 +02:00 committed by 123kupola
parent e5496c247e
commit 1a2d0b1d1f

View file

@ -693,8 +693,9 @@ if [ ! -f "$WORK_IMG" ]; then
gpart create -s BSD /dev/${MD}s2
gpart add -t freebsd-ufs /dev/${MD}s2
# Create UFS filesystem on partition a
newfs -U /dev/${MD}s2a
# Create UFS filesystem on partition a. Keep the label expected by the
# stock FreeBSD memstick loader configuration.
newfs -U -L FreeBSD_Install /dev/${MD}s2a
# Mount the new filesystem
MOUNT_POINT="${CACHE_DIR}/mnt"