Loading readme.md +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ services: - /dev/kvm cap_add: - NET_ADMIN - LINUX_IMMUTABLE ports: - 5000:5000 volumes: Loading src/disk.sh +2 −1 Original line number Diff line number Diff line Loading @@ -295,7 +295,8 @@ checkFS () { if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!" info "This will negatively affect performance, please empty the folder and disable COW (chattr +C <path>)." info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>" fi fi Loading src/install.sh +4 −4 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs fi if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!" info "This will negatively affect performance, please empty the folder and disable COW (chattr +C <path>)." info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>" fi fi Loading @@ -74,8 +75,7 @@ else TMP="/tmp/dsm" SPACE=$(df --output=avail -B 1 /tmp | tail -n 1) if (( MIN_SPACE > SPACE )); then TMP="$STORAGE/tmp" info "Warning: the $FS filesystem of $STORAGE does not support UNIX permissions.." error "The $FS filesystem of $STORAGE does not support UNIX permissions, and no space left in container.." && exit 93 fi fi Loading Loading
readme.md +1 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ services: - /dev/kvm cap_add: - NET_ADMIN - LINUX_IMMUTABLE ports: - 5000:5000 volumes: Loading
src/disk.sh +2 −1 Original line number Diff line number Diff line Loading @@ -295,7 +295,8 @@ checkFS () { if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!" info "This will negatively affect performance, please empty the folder and disable COW (chattr +C <path>)." info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>" fi fi Loading
src/install.sh +4 −4 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs fi if [[ "$FA" != *"C"* ]]; then info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!" info "This will negatively affect performance, please empty the folder and disable COW (chattr +C <path>)." info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag" info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>" fi fi Loading @@ -74,8 +75,7 @@ else TMP="/tmp/dsm" SPACE=$(df --output=avail -B 1 /tmp | tail -n 1) if (( MIN_SPACE > SPACE )); then TMP="$STORAGE/tmp" info "Warning: the $FS filesystem of $STORAGE does not support UNIX permissions.." error "The $FS filesystem of $STORAGE does not support UNIX permissions, and no space left in container.." && exit 93 fi fi Loading