From d5062b81e55a6679d1d7c49f955b16275e190814 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 8 Aug 2001 21:19:15 +0000 Subject: new fstab example git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/fstab.xml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 3617612f1..27249ff3e 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -1,4 +1,4 @@ - + Creating the /etc/fstab file In order for certain programs to be able to determine where certain @@ -9,17 +9,25 @@ following: cat > /etc/fstab << "EOF" # Begin /etc/fstab -/dev/<LFS-partition designation> / <fs-type> defaults 1 1 -/dev/<swap-partition designation> swap swap defaults 0 0 -proc /proc proc defaults 0 0 +# location of filesystem mount point fs-type options + +/dev/*LFS-partition device* / *fs-type* defaults 1 1 +/dev/*swap-partition device* swap swap defaults 0 0 +proc /proc proc defaults 0 0 # End /etc/fstab EOF -<LFS-partition designation>, <swap-partition -designation> and <fs-type> have to be replaced with the appropriate - values -(/dev/hda2, /dev/hda5 and reiserfs for example). +*LFS-partition device*, +*swap-partition device* +and *fs-type* have to be replaced with the +appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example). + +When adding a reiserfs partition, the 1 1 at +the end of the line should be replaced with 0 0. + +For more information on the various fields which are in the fstab +file, see man 5 fstab. -- cgit v1.2.3-54-g00ecf