aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/fstab.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-01-16 18:34:31 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-01-16 18:34:31 +0000
commite9ba8aa85f6fe42e7fe1c8815431702c07fe9172 (patch)
treed8ff9914bcd492b9debadbaf82dbbe3365e1a5af /chapter08/fstab.xml
parent6c3ab2e4b6018dbafe493e56609d6478a79bfbe4 (diff)
Change bootscripts to use devtmpfs for /dev.
Move mounting of /dev to mountvirtfs and ensure /dev gets placed in /etc/mtab. Change fstab and kernel configuration sections to reflect these changes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9710 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>