[mount] Drop noatime for baseline and btrfs defaults
The usage of noatime has subtle negative impacts on the system, including breaking various utilities that rely on that information. If a user or distribution explicitly chooses this, then they acknowledge this problem and account for it, but it should not be an uninformed default. It's left in place for swap because it does not matter there and likely reduces thrashing for swap files.
This commit is contained in:
parent
6b0d52ca5b
commit
84e66f8512
@ -95,9 +95,9 @@ btrfsSwapSubvol: /@swap
|
||||
# - filesystem: efi
|
||||
# options: [ defaults, umask=0077 ]
|
||||
# - filesystem: ext4
|
||||
# options: [ defaults, noatime ]
|
||||
# options: [ defaults ]
|
||||
# - filesystem: btrfs
|
||||
# options: [ defaults, noatime, compress=zstd:1 ]
|
||||
# options: [ defaults, compress=zstd:1 ]
|
||||
# ssdOptions: [ discard=async ]
|
||||
# hddOptions: [ autodefrag ]
|
||||
# - filesystem: btrfs_swap
|
||||
@ -108,15 +108,15 @@ btrfsSwapSubvol: /@swap
|
||||
#
|
||||
# mountOptions:
|
||||
# - filesystem: default
|
||||
# options: [ defaults, noatime ]
|
||||
# options: [ defaults ]
|
||||
#
|
||||
mountOptions:
|
||||
- filesystem: default
|
||||
options: [ defaults, noatime ]
|
||||
options: [ defaults ]
|
||||
- filesystem: efi
|
||||
options: [ defaults, umask=0077 ]
|
||||
- filesystem: btrfs
|
||||
options: [ defaults, noatime, compress=lzo ]
|
||||
options: [ defaults, compress=lzo ]
|
||||
- filesystem: btrfs_swap
|
||||
options: [ defaults, noatime ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user