Re: [gentoo-user] FSTAB file

2006-09-18 Thread Alan McKinnon
On Sunday 17 September 2006 15:36, rob wrote:
 What do the 2 zerros at the end of the line mean and why is
 the / dira1 0  

Not to be pedantic, but it's '0 1' for the / partition  :-)

Others have referred you to the man pages that describe these 
settings, but what isn't obvious is that these are for ext2/3 
filesystems only. Field 5 is used by dump/restore which only 
works on ext2/3.

If you use reiserfs, these fields must be '0 0' as reiser can do 
the right thing at mount time by itself.
The same goes for all other filesystems (cdroms, tmpfs, udev, 
etc etc)

alan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FSTAB file

2006-09-17 Thread rob
What do the 2 zerros at the end of the line mean and why is the
 / dira1 0  

rob
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FSTAB file

2006-09-17 Thread fire-eyes

rob wrote:

What do the 2 zerros at the end of the line mean and why is the
 / dira1 0  

rob


dump and pass. The fstab man page will explain it
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FSTAB file

2006-09-17 Thread Daniel Iliev
rob wrote:
 What do the 2 zerros at the end of the line mean and why is the
  / dira1 0  

 rob
   
From `man fstab`:

   The fifth field, (fs_freq), is used for these filesystems by the
dump(8) command to determine
   which filesystems need to be dumped.  If the fifth field is not
present, a value of  zero  is
   returned and dump will assume that the filesystem does not need
to be dumped.

   The  sixth field, (fs_passno), is used by the fsck(8) program to
determine the order in which
   filesystem checks are done at reboot time.  The root filesystem
should be  specified  with  a
   fs_passno  of  1,  and  other filesystems should have a fs_passno
of 2.  Filesystems within a
   drive will be checked sequentially, but filesystems on different
drives will  be  checked  at
   the  same  time  to utilize parallelism available in the
hardware.  If the sixth field is not
   present or zero, a value of zero is returned and fsck will assume
that  the  filesystem  does
   not need to be checked.


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] FSTAB file

2006-09-17 Thread darren kirby
quoth the rob:
 What do the 2 zerros at the end of the line mean and why is the
  / dira1 0  

 rob

fs_freq and fs_passno

See man 5 fstab

Though '/' should be '0 1'. fs_freq is all but obsolete

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@gentoo.org mailing list