# Static information about the filesystems. # See fstab(5) for details. # # My changes: # - Disabled atime since I don't have any need for it. # - Replaced discard=async with a fstrim timer on AC. # - Added x-systemd.automount to all non-root mounts. # - Measured on 2024-05-02 that compress=zstd:1 is probably the best option. # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db / btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=256,subvol=/@ 0 0 # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db /home btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=257,subvol=/@home,x-systemd.automount 0 0 # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db /var/log btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=258,subvol=/@log,x-systemd.automount 0 0 # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db /var/cache/pacman/pkg btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=259,subvol=/@pkg,x-systemd.automount 0 0 # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db /.snapshots btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=260,subvol=/@.snapshots,x-systemd.automount 0 0 # /dev/nvme0n1p2 UUID=ef8028ee-cb15-4224-a459-a14a8d9b91db /mnt/btr_pool btrfs rw,noatime,ssd,space_cache=v2,compress=zstd:1,nodiscard,subvolid=260,subvolid=5,x-systemd.automount 0 0 # /dev/nvme0n1p1 UUID=2567-BE54 /boot vfat rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro,x-systemd.automount 0 2 # Using a symlink prevents systemd-tmpfiles from being able to clean the cache folder. # A bind mount works perfectly. /mnt/btr_pool/@home-jerome-nobackup/.cache /home/jerome/.cache none bind,x-systemd.automount