瀏覽代碼

changed formatting to be more readable

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1664 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 年之前
父節點
當前提交
140e3d218c
共有 1 個文件被更改,包括 9 次插入8 次删除
  1. 9 8
      chapter08/fstab.xml

+ 9 - 8
chapter08/fstab.xml

@@ -10,17 +10,17 @@ following:</para>
 <para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
 <para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
 # Begin /etc/fstab
 # Begin /etc/fstab
 
 
-# location of filesystem	mount point	fs-type		options
+# filesystem   mount-point fs-type    options     dump    fsck-order
 
 
-/dev/*LFS-partition device*	/		*fs-type*	defaults 1 1
-/dev/*swap-partition device*  	swap 		swap		pri=1 0 0
-proc 				/proc 		proc 		defaults 0 0
+/dev/*LFS*     /           *fs-type*  defaults    1       1
+/dev/*swap*    swap        swap       pri=1       0       0
+proc           /proc       proc       defaults    0       0
 
 
 # End /etc/fstab
 # End /etc/fstab
 <userinput>EOF</userinput></screen></para>
 <userinput>EOF</userinput></screen></para>
 
 
-<para><userinput>*LFS-partition device*</userinput>, 
-<userinput>*swap-partition device*</userinput>
+<para><userinput>*LFS*</userinput>, 
+<userinput>*swap*</userinput>
 and <userinput>*fs-type*</userinput> have to be replaced with the 
 and <userinput>*fs-type*</userinput> have to be replaced with the 
 appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example).</para>
 appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example).</para>
 
 
@@ -33,11 +33,12 @@ file, see <userinput>man 5 fstab</userinput>.</para>
 <para>There are other lines which you may consider adding to your fstab
 <para>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
 file.  One example is the line which you must have if you are using
 devpts:</para>
 devpts:</para>
-<para><screen>devpts		/dev/pts	devpts   gid=4,mode=620  0 0</screen></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
 <para>Another example is a line to use if you intend to use USB
 devices:</para>
 devices:</para>
-<para><screen>usbdevfs		/proc/bus/usb	usbdevfs defaults        0 0</screen></para>
+<para><screen>usbdevfs       /proc/bus/usb usbdevfs defaults    0       0</screen></para>
 
 
 <para>Both of these options will only work if you have the relevant
 <para>Both of these options will only work if you have the relevant
 support compiled into your kernel.</para>
 support compiled into your kernel.</para>