aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/fstab.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/fstab.xml')
-rw-r--r--chapter08/fstab.xml20
1 files changed, 11 insertions, 9 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 7972886c0..e859851e9 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -22,15 +22,17 @@
<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
<literal># Begin /etc/fstab
-# file system mount-point type options dump fsck
-# order
-
-/dev/<replaceable>&lt;xxx&gt;</replaceable> / <replaceable>&lt;fff&gt;</replaceable> defaults 1 1
-/dev/<replaceable>&lt;yyy&gt;</replaceable> swap swap pri=1 0 0
-proc /proc proc defaults 0 0
-sysfs /sys sysfs defaults 0 0
-devpts /dev/pts devpts gid=4,mode=620 0 0
-tmpfs /run tmpfs defaults 0 0
+# file system mount-point type options dump fsck
+# order
+
+/dev/<replaceable>&lt;xxx&gt;</replaceable> / <replaceable>&lt;fff&gt;</replaceable> defaults 1 1
+/dev/<replaceable>&lt;yyy&gt;</replaceable> swap swap pri=1 0 0
+proc /proc proc nosuid,noexec,nodev 0 0
+sysfs /sys sysfs nosuid,noexec,nodev 0 0
+devpts /dev/pts devpts gid=4,mode=620 0 0
+tmpfs /run tmpfs defaults 0 0
+devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
+
# End /etc/fstab</literal>
EOF</userinput></screen>