show rootfs type on-screen during boot

Signed-off-by: Adam Michel <elfurbe@furbism.com>
This commit is contained in:
Adam Michel
2023-05-18 17:13:10 -07:00
committed by Jonathon Anderson
parent 43b298f3aa
commit 9d7e1a51c0

View File

@@ -26,8 +26,9 @@ mount -t tmpfs tmpfs /run
chmod 755 /warewulf/wwinit
echo "Checking Rootfs type"
echo -n "Checking Rootfs type..."
ROOTFSTYPE=`stat -f -c "%T" /`
echo "${ROOTFSTYPE}"
if test "$WWROOT" = "initramfs"; then
echo "Provisioned to default initramfs file system: $ROOTFSTYPE"