1# This file is part of systemd. 2# 3# systemd is free software; you can redistribute it and/or modify it 4# under the terms of the GNU Lesser General Public License as published by 5# the Free Software Foundation; either version 2.1 of the License, or 6# (at your option) any later version. 7 8# See tmpfiles.d(5) for details 9 10# Set the NOCOW attribute for directories of journal files. This flag 11# is inherited by their new files and sub-directories. Matters only 12# for btrfs filesystems. 13# 14# WARNING: Enabling the NOCOW attribute improves journal performance 15# substantially, but also disables the btrfs checksum logic. In 16# btrfs RAID filesystems the checksums are needed for rebuilding 17# corrupted files. Without checksums such rebuilds are not 18# possible. 19# 20# In a single-disk filesystem (or a filesystem without redundancy) 21# enabling the NOCOW attribute for journal files is safe, because 22# they have their own checksums and a rebuilding wouldn't be possible 23# in any case. 24 25h /var/log/journal - - - - +C 26h /var/log/journal/%m - - - - +C 27h /var/log/journal/remote - - - - +C 28