From 140e3d218c25228522e40b9b8591eefb96cf3c1a Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 5 Mar 2002 20:00:29 +0000 Subject: changed formatting to be more readable git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1664 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/fstab.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'chapter08/fstab.xml') diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index b5ba52c09..46ed51f3f 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -10,17 +10,17 @@ following: cat > /etc/fstab << "EOF" # 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 EOF -*LFS-partition device*, -*swap-partition device* +*LFS*, +*swap* and *fs-type* have to be replaced with the appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example). @@ -33,11 +33,12 @@ file, see man 5 fstab. 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: -devpts /dev/pts devpts gid=4,mode=620 0 0 + +devpts /dev/pts devpts gid=4,mode=620 0 0 Another example is a line to use if you intend to use USB devices: -usbdevfs /proc/bus/usb usbdevfs defaults 0 0 +usbdevfs /proc/bus/usb usbdevfs defaults 0 0 Both of these options will only work if you have the relevant support compiled into your kernel. -- cgit v1.2.3-54-g00ecf