public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] FSTAB file
@ 2006-09-17 13:36 rob
  2006-09-17 13:42 ` fire-eyes
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rob @ 2006-09-17 13:36 UTC (permalink / raw
  To: gentoo-user

What do the 2 zerros at the end of the line mean and why is the
 / dir    a        1 0  ????

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] FSTAB file
  2006-09-17 13:36 [gentoo-user] FSTAB file rob
@ 2006-09-17 13:42 ` fire-eyes
  2006-09-17 13:47 ` darren kirby
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fire-eyes @ 2006-09-17 13:42 UTC (permalink / raw
  To: gentoo-user

rob wrote:
> What do the 2 zerros at the end of the line mean and why is the
>  / dir    a        1 0  ????
> 
> rob

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] FSTAB file
  2006-09-17 13:36 [gentoo-user] FSTAB file rob
  2006-09-17 13:42 ` fire-eyes
@ 2006-09-17 13:47 ` darren kirby
  2006-09-17 13:49 ` Daniel Iliev
  2006-09-18  8:33 ` Alan McKinnon
  3 siblings, 0 replies; 5+ messages in thread
From: darren kirby @ 2006-09-17 13:47 UTC (permalink / raw
  To: gentoo-user

quoth the rob:
> What do the 2 zerros at the end of the line mean and why is the
>  / dir    a        1 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] FSTAB file
  2006-09-17 13:36 [gentoo-user] FSTAB file rob
  2006-09-17 13:42 ` fire-eyes
  2006-09-17 13:47 ` darren kirby
@ 2006-09-17 13:49 ` Daniel Iliev
  2006-09-18  8:33 ` Alan McKinnon
  3 siblings, 0 replies; 5+ messages in thread
From: Daniel Iliev @ 2006-09-17 13:49 UTC (permalink / raw
  To: gentoo-user

rob wrote:
> What do the 2 zerros at the end of the line mean and why is the
>  / dir    a        1 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] FSTAB file
  2006-09-17 13:36 [gentoo-user] FSTAB file rob
                   ` (2 preceding siblings ...)
  2006-09-17 13:49 ` Daniel Iliev
@ 2006-09-18  8:33 ` Alan McKinnon
  3 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2006-09-18  8:33 UTC (permalink / raw
  To: gentoo-user

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 / dir    a        1 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-18  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-17 13:36 [gentoo-user] FSTAB file rob
2006-09-17 13:42 ` fire-eyes
2006-09-17 13:47 ` darren kirby
2006-09-17 13:49 ` Daniel Iliev
2006-09-18  8:33 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox