cvs commit: src/share/man/man5 fstab.5

Mike Pritchard mpp at mail.mppsystems.com
Sun Feb 10 15:33:14 PST 2008


On Sat, Feb 09, 2008 at 08:02:33PM +0000, Poul-Henning Kamp wrote:
> In message <86ir0xc45r.fsf at ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr
> ites:
> >Mike Pritchard <mpp at FreeBSD.org> writes:
> >>   Log:
> >>   Explain how the passno field in /etc/fstab works with fsck
> >>   and quotacheck in some more detail.
> >
> >One thing that isn't entirely clear: how do fsck and quotacheck behave
> >for passno > 1?  I get the impression (both from the man page and from
> >previous mailing list discussions) that all file systems with a passno
> >above 1 are treated equally, rather than being ranked by their passno.
> 
> Last I mucked about with this code, it would handle passes sequentially
> but disks[1] in each pass in parallel.
> 
> The reason for doing it this way was that there is no way to see from
> /dev/ccd0 which drives this would affect, this using passes to control
> when ccd devices where handled allowed manual sceduling.
> 
> If people have changed it since then, I'm not aware of it.
> 
> Poul-Henning
> 
> [1] A disk being defined as anything in the device name up to and including
> the first numeric sequenc of characters.  Ie: "ad0s4b" is on disk "ad0"

It is how phk stated.  I'll try and make it a bit clearer in the man
page.

And in the past, only pass numbers 0, 1 and 2 were supported.  Around 2001
Poul-Henning changed it to support any passno up to INTMAX-1, and
until recently quotacheck still only supported passnos 0 - 2.
-- 
Mike Pritchard
mpp @ FreeBSD.org
"If tyranny and oppression come to this land, it will be in the guise
of fighting a foreign enemy."  - James Madison (1787)


More information about the cvs-src mailing list