From e9ba8aa85f6fe42e7fe1c8815431702c07fe9172 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 16 Jan 2012 18:34:31 +0000 Subject: 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 --- chapter08/fstab.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'chapter08/fstab.xml') 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 @@ cat > /etc/fstab << "EOF" # Begin /etc/fstab -# file system mount-point type options dump fsck -# order - -/dev/<xxx> / <fff> defaults 1 1 -/dev/<yyy> 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/<xxx> / <fff> defaults 1 1 +/dev/<yyy> 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 EOF -- cgit v1.2.3-54-g00ecf