mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
changed formatting to be more readable
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1664 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
902e95f1f4
commit
140e3d218c
@ -10,17 +10,17 @@ following:</para>
|
||||
<para><screen><userinput>cat > /etc/fstab << "EOF"</userinput>
|
||||
# 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
|
||||
<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
|
||||
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
|
||||
file. One example is the line which you must have if you are using
|
||||
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
|
||||
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
|
||||
support compiled into your kernel.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user