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.