[fstab] Cut the example btrfs flags to 'defaults'

Testing shows that the flags can influence -- maybe cause -- data
corruption when noatime is set.

FIXES #1846
This commit is contained in:
Adriaan de Groot 2021-12-08 13:06:53 +01:00
parent fa29ae2c5e
commit bb948c47dc

View File

@ -18,10 +18,16 @@
# #
# btrfs_swap options are used when a swapfile is chosen with a btrfs root # btrfs_swap options are used when a swapfile is chosen with a btrfs root
# the options are applied to the subvolume which holds the swap partition # the options are applied to the subvolume which holds the swap partition
#
# The settings shown here apply only the btrfs defaults; these
# are generally the right ones. Commented-out lines show other
# options wich **might** be applicable for specific situations.
mountOptions: mountOptions:
default: defaults,noatime default: defaults,noatime
btrfs: defaults,noatime,autodefrag,compress=zstd # btrfs: defaults,noatime,autodefrag,compress=zstd
btrfs_swap: defaults,noatime btrfs: defaults
# btrfs_swap: defaults,noatime
btrfs_swap: defaults
# Mount options to use for the EFI System Partition. If not defined, the # Mount options to use for the EFI System Partition. If not defined, the
# *mountOptions* for *vfat* are used, or if that is not set either, # *mountOptions* for *vfat* are used, or if that is not set either,