feat: Add FUSE warning (#542)

* feat: Add FUSE warning
This commit is contained in:
Kroese
2024-01-05 13:24:54 +01:00
committed by GitHub
parent dcc26b67a6
commit c28dbb6b9b
2 changed files with 8 additions and 0 deletions

View File

@@ -319,6 +319,10 @@ checkFS () {
info "Warning: 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!"
fi
if isCow "$FS"; then
if [ -f "$DISK_FILE" ]; then
FA=$(lsattr "$DISK_FILE")