]> code.delx.au - monosys/commitdiff
etc/fstab example
authorJames Bunton <jamesbunton@delx.au>
Mon, 29 Jan 2024 13:16:42 +0000 (00:16 +1100)
committerJames Bunton <jamesbunton@delx.au>
Mon, 29 Jan 2024 13:16:42 +0000 (00:16 +1100)
etc/fstab [new file with mode: 0644]

diff --git a/etc/fstab b/etc/fstab
new file mode 100644 (file)
index 0000000..c0ca1d4
--- /dev/null
+++ b/etc/fstab
@@ -0,0 +1,9 @@
+# <file system>         <dir>                   <type>  <options>                                       <dump><pass>
+LABEL=btrfsroot         /                       btrfs   subvol=@root,discard,compress,nodev,nosuid          2   0
+LABEL=btrfsroot         /btrfs                  btrfs   subvol=/,discard,compress,nodev,nosuid              0   0
+LABEL=btrfsroot         /home                   btrfs   subvol=@home,discard,compress,nodev,nosuid          2   0
+LABEL=btrfsroot         /var/cache/pacman       btrfs   subvol=@pacman,discard,compress,nodev,nosuid        0   0
+LABEL=btrfsroot         /var/tmp                btrfs   subvol=@vartmp,discard,compress,nodev,nosuid        0   0
+PARTLABEL=XBOOTLDR      /boot                   ext4    discard,nodev,nosuid,noexec                         1   0
+PARTLABEL=ESP           /boot/efi               vfat    discard,nodev,nosuid,noexec                         1   0
+LABEL=swap              swap                    swap    discard                                             0   0