From c3bb8d94acb78c58237fb844f51b56bc7f1b48ea Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 22 Oct 2025 02:16:10 +0200 Subject: [PATCH] Update disk.sh --- src/disk.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/disk.sh b/src/disk.sh index 9c8a292..c66b243 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -347,22 +347,22 @@ checkFS () { [ ! -d "$DIR" ] && return 0 if [[ "${FS,,}" == "overlay"* && "$PODMAN" != [Yy1]* ]]; then - info "Warning: the filesystem of $DIR is OverlayFS, this usually means it was binded to an invalid path!" + warn "the filesystem of $DIR is OverlayFS, this usually means it was binded to an invalid path!" fi if [[ "${FS,,}" == "fuse"* ]]; then - info "Warning: the filesystem of $DIR is FUSE, this extra layer will negatively affect performance!" + warn "the filesystem of $DIR is FUSE, this extra layer will negatively affect performance!" fi if ! supportsDirect "$FS"; then - info "Warning: the filesystem of $DIR is $FS, which does not support O_DIRECT mode, adjusting settings..." + warn "the filesystem of $DIR is $FS, which does not support O_DIRECT mode, adjusting settings..." fi if isCow "$FS"; then if [ -f "$DISK_FILE" ]; then FA=$(lsattr "$DISK_FILE") if [[ "$FA" != *"C"* ]]; then - info "Warning: COW (copy on write) is not disabled for $DISK_DESC image file $DISK_FILE, this is recommended on ${FS^^} filesystems!" + warn "COW (copy on write) is not disabled for $DISK_DESC image file $DISK_FILE, this is recommended on ${FS^^} filesystems!" fi fi fi