summaryrefslogtreecommitdiff
path: root/files/default/fstab
diff options
context:
space:
mode:
Diffstat (limited to 'files/default/fstab')
-rw-r--r--files/default/fstab20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/default/fstab b/files/default/fstab
new file mode 100644
index 0000000..1866df3
--- /dev/null
+++ b/files/default/fstab
@@ -0,0 +1,20 @@
+# fstab: static file system information for chroots.
+# Note that the mount point will be prefixed by the chroot path
+# (CHROOT_PATH)
+#
+# <file system> <mount point> <type> <options> <dump> <pass>
+/proc /proc none rw,rbind 0 0
+/sys /sys none rw,rbind 0 0
+/dev /dev none rw,rbind 0 0
+#/home /home none rw,bind 0 0
+/tmp /tmp none rw,bind 0 0
+
+# It may be desirable to have access to /run, especially if you wish
+# to run additional services in the chroot. However, note that this
+# may potentially cause undesirable behaviour on upgrades, such as
+# killing services on the host.
+/run /run none rw,bind 0 0
+/run/lock /run/lock none rw,bind 0 0
+/dev/shm /dev/shm none rw,bind 0 0
+/run/shm /run/shm none rw,bind 0 0
+#/dev/pts /dev/pts none rw,bind 0 0