diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-01-16 18:34:31 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-01-16 18:34:31 +0000 |
commit | e9ba8aa85f6fe42e7fe1c8815431702c07fe9172 (patch) | |
tree | d8ff9914bcd492b9debadbaf82dbbe3365e1a5af /chapter08/fstab.xml | |
parent | 6c3ab2e4b6018dbafe493e56609d6478a79bfbe4 (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.xml | 20 |
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 > /etc/fstab << "EOF" <literal># Begin /etc/fstab -# file system mount-point type options dump fsck -# order - -/dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 -/dev/<replaceable><yyy></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><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 +/dev/<replaceable><yyy></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> |