Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 23:41:09 -0700
From:      Guy Harris <gharris@flashcom.net>
To:        Warner Losh <imp@village.org>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, arch@FreeBSD.ORG
Subject:   Re: Ideas concerning fsck
Message-ID:  <20001023234109.Q442@quadrajet.flashcom.com>

next in thread | raw e-mail | index | archive | help
> You can keep things well balanced with pass numbers.

At least in the 3.4 version, the only uses of "fs_passno" in the
"sbin/fsck" directory are in "main.c", where "docheck()" concludes that
if "fs_passno" is 0, the file system doesn't have to be checked, and
"preen.c", where "checkfstab()", during a preen, checks file systems
with "fs_passno" of 1 sequentially in the first pass and checks file
systems with "fs_passno" of 2 in parallel on the second pass.

Perhaps I'm missing something, but it looks as if the pass number is a
tri-state value:

	0		don't check it at all

	1		check it during the first pass

	2 or higher	check it during the second pass

I think it's been that way for years (pre-Net-2).


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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