From 536ecb44e017f2364c10bcfb78462c556239d28c Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 26 Apr 2024 05:59:10 +0200 Subject: [PATCH] feat: Support ecryptfs filesystem --- src/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/install.sh b/src/install.sh index a612adc..0d45cbe 100644 --- a/src/install.sh +++ b/src/install.sh @@ -66,6 +66,10 @@ if [[ "${FS,,}" == "fuse"* ]]; then info "Warning: the filesystem of $STORAGE is FUSE, this extra layer will negatively affect performance!" fi +if [[ "${FS,,}" == "ecryptfs" ]] || [[ "${FS,,}" == "tmpfs" ]]; then + info "Warning: the filesystem of $STORAGE is $FS, which does not support O_DIRECT mode, adjusting settings..." +fi + if [[ "${FS,,}" == "fat"* || "${FS,,}" == "vfat"* || "${FS,,}" == "msdos"* ]]; then error "Unable to install on $FS filesystems, please use a different filesystem for /storage." && exit 61 fi