aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config.d/controller/modules/files/cfstab')
-rw-r--r--config.d/controller/modules/files/cfstab49
1 files changed, 49 insertions, 0 deletions
diff --git a/config.d/controller/modules/files/cfstab b/config.d/controller/modules/files/cfstab
new file mode 100644
index 0000000..600b339
--- /dev/null
+++ b/config.d/controller/modules/files/cfstab
@@ -0,0 +1,49 @@
+# /etc/fstab: static file system information.
+#
+# noatime turns off atimes for increased performance (atimes normally aren't
+# needed); notail increases performance of ReiserFS (at the expense of storage
+# efficiency). It's safe to drop the noatime options if you want and to
+# switch between notail / tail freely.
+#
+# The root filesystem should have a pass number of either 0 or 1.
+# All other filesystems should have a pass number of 0 or greater than 1.
+#
+# See the manpage fstab(5) for more information.
+#
+
+# <fs> <mountpoint> <type> <opts> <dump/pass>
+
+# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
+#
+# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
+# filesystems. This just tells the kernel to use the ext4 driver.
+#
+# NOTE: You can use full paths to devices like /dev/sda3, but it is often
+# more reliable to use filesystem labels or UUIDs. See your filesystem
+# documentation for details on setting a label. To obtain the UUID, use
+# the blkid(8) command.
+
+#LABEL=boot /boot ext4 noauto,noatime 1 2
+#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
+#LABEL=swap none swap sw 0 0
+#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
+
+# BOOT
+LABEL=BOOT /boot btrfs ro,noatime,subvol=/bootfs 0 0
+
+# SYSTEM
+LABEL=SYSTEM / btrfs ro,noatime,subvol=/sysfs 0 0
+
+# USER-DATA
+LABEL=USERDATA /user-data btrfs defaults,noatime,subvol=/userdata 0 0
+
+# HOME
+/user-data/persistent/home /home/ none rw,bind 0 0
+
+# HOME
+tmpfs /var/tmp tmpfs nodev,nosuid,size=512M 0 0
+
+# HOME
+tmpfs /tmp tmpfs nodev,nosuid,size=512M 0 0
+
+# EOF \ No newline at end of file