aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-09-23 06:27:36 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-09-23 06:27:36 +0000
commite683065ebee9cedb40000840c7a37af547782e15 (patch)
tree4abff898b6ee5a92cee1b3888e7834e2fe9d9ddb /chapter08
parentccaabde9fa61eef979216eb0b68c4ffae54d97a8 (diff)
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
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/fstab.xml23
1 files changed, 10 insertions, 13 deletions
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:</para>
<para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
# 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
<userinput>EOF</userinput></screen></para>
@@ -36,17 +37,13 @@ see <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
source tree.</para>
<para>There are other lines which you may consider adding to your
-<filename>fstab</filename> file. One example is the line which you must have
-if you are using devpts:</para>
+<filename>fstab</filename> file. One example is a line to use if you intend to
+use USB devices:</para>
-<para><screen>devpts /dev/pts devpts gid=4,mode=620 0 0</screen></para>
-
-<para>Another example is a line to use if you intend to use USB
-devices:</para>
<para><screen>usbfs /proc/bus/usb usbfs defaults 0 0</screen></para>
-<para>Both of these options will of course only work if you have the relevant
-support compiled into your kernel.</para>
+<para>This option will of course only work if you have the relevant support
+compiled into your kernel.</para>
</sect1>