Quote from: Patrick M. Hausen on January 19, 2026, 06:49:16 PMWow! 🤯
Quote from: Maurice on Today at 12:28:03 AMVERY COOL !!!Quote from: nero355 on Today at 12:16:53 AMSo the file you create with the touch command has the special name that triggers the expansion ?Correct. The rc script checks whether this file exists. If it does, the partition and file systems modifications are executed and the file is deleted, so this happens only once:GROWFS_MARKER=/.probe.for.growfs
[...]
if [ -f ${GROWFS_MARKER} ]; then
if [ -n "${ROOT_IS_UFS}" ]; then
grow_partition ${ROOT_IS_UFS}
growfs -y "/"
elif [ -n "${ROOT_IS_ZFS}" ]; then
zpool list -Hv ${ROOT_IS_ZFS} | while read NAME MORE; do
if [ "${NAME}" != "${ROOT_IS_ZFS}" ]; then
grow_partition ${NAME}
zpool online -e ${ROOT_IS_ZFS} ${NAME}
fi
done
fi
fi
[...]
rm -f ${GROWFS_MARKER}
/.probe.for.growfs exists on nano, vm and arm images so they fill all available disk space on first boot. But you can create this file any time on any OPNsense installation.
Quote from: k0ns0l3 on Today at 11:29:38 AMgibt es eine beschreibung wie man das macht leider kein erfahrung,