Unverified Commit c28dbb6b authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Add FUSE warning (#542)

* feat: Add FUSE warning
parent dcc26b67
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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")
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,10 @@ if [[ "${FS,,}" == "overlay"* ]]; then
  info "Warning: the filesystem of $STORAGE is OverlayFS, this usually means it was binded to an invalid path!"
fi

if [[ "${FS,,}" == "fuse"* ]]; then
  info "Warning: the filesystem of $STORAGE is FUSE, this extra layer will negatively affect performance!"
fi

if [[ "${FS,,}" != "fat"* && "${FS,,}" != "vfat"* && "${FS,,}" != "exfat"* && "${FS,,}" != "ntfs"* && "${FS,,}" != "msdos"* ]]; then
  TMP="$STORAGE/tmp"
else