From e683065ebee9cedb40000840c7a37af547782e15 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Tue, 23 Sep 2003 06:27:36 +0000 Subject: Chapter 8 - Creating the /etc/fstab file: Made mounting devpts the default. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2872 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/fstab.xml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'chapter08') diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 188bc8633..4c38ede0e 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -10,12 +10,13 @@ this: cat > /etc/fstab << "EOF" # Begin /etc/fstab -# filesystem mount-point fs-type options dump fsck-order +# filesystem mount-point fs-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 -shm /dev/shm tmpfs defaults 0 0 +/dev/xxx / fff defaults 1 1 +/dev/yyy swap swap pri=1 0 0 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts gid=4,mode=620 0 0 +shm /dev/shm tmpfs defaults 0 0 # End /etc/fstab EOF @@ -36,17 +37,13 @@ see Documentation/filesystems/tmpfs.txt in the kernel source tree. There are other lines which you may consider adding to your -fstab file. One example is the line which you must have -if you are using devpts: +fstab file. One example is a line to use if you intend to +use USB devices: -devpts /dev/pts devpts gid=4,mode=620 0 0 - -Another example is a line to use if you intend to use USB -devices: usbfs /proc/bus/usb usbfs defaults 0 0 -Both of these options will of course only work if you have the relevant -support compiled into your kernel. +This option will of course only work if you have the relevant support +compiled into your kernel. -- cgit v1.2.3-54-g00ecf