Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 16:10:11 -0600
From:      Mike Pritchard <mpp@mail.mppsystems.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Dag-Erling Sm??rgrav <des@des.no>, Mike Pritchard <mpp@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/share/man/man5 fstab.5
Message-ID:  <20080210221011.GA2731@mail.mppsystems.com>
In-Reply-To: <37092.1202587353@critter.freebsd.dk>
References:  <86ir0xc45r.fsf@ds4.des.no> <37092.1202587353@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 09, 2008 at 08:02:33PM +0000, Poul-Henning Kamp wrote:
> In message <86ir0xc45r.fsf@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr
> ites:
> >Mike Pritchard <mpp@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080210221011.GA2731>