diff options
Diffstat (limited to 'flowee.install')
-rw-r--r-- | flowee.install | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/flowee.install b/flowee.install index 694e989c2540..761122092f39 100644 --- a/flowee.install +++ b/flowee.install @@ -8,9 +8,6 @@ post_install() { _cnf="/etc/flowee" if test ! -d "$_dir"; then mkdir -m 750 "$_dir" - # disable Copy-On-Write (btrfs directories only) - # This avoids lots of known db-corruption issues - _is_btrfs "$_dir" && chattr +C "$_dir" fi mkdir -p -m 770 "$_log" chown -R $_bc_user:$_bc_group "$_dir" "$_cnf" "$_log" @@ -33,17 +30,3 @@ _mkuser() { echo "done" } } - -# ------------------------------------------------------------------------------ -# helper functions for disabling btrfs Copy-On-Write (CoW) -# https://wiki.archlinux.org/index.php/Btrfs#Copy-On-Write_.28CoW.29 -# ------------------------------------------------------------------------------ - -# check if dir is btrfs -_is_btrfs() { - if [[ $(findmnt --target $1 --output FSTYPE --noheadings) == 'btrfs' ]]; then - return 0 - else - return 1 - fi -} |