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