From owner-freebsd-arch Mon Oct 23 23:41:15 2000 Delivered-To: freebsd-arch@freebsd.org Received: from c014.sfo.cp.net (c014-h001.c014.sfo.cp.net [209.228.12.65]) by hub.freebsd.org (Postfix) with SMTP id EA20937B479 for <arch@FreeBSD.ORG>; Mon, 23 Oct 2000 23:41:12 -0700 (PDT) Received: (cpmta 18527 invoked from network); 23 Oct 2000 23:41:12 -0700 Received: from d8c81e5f.dsl.flashcom.net (HELO quadrajet.flashcom.com) (216.200.30.95) by smtp.flashcom.net (209.228.12.65) with SMTP; 23 Oct 2000 23:41:12 -0700 X-Sent: 24 Oct 2000 06:41:12 GMT Received: (from guy@localhost) by quadrajet.flashcom.com (8.9.3/8.9.3) id XAA05114; Mon, 23 Oct 2000 23:41:09 -0700 (PDT) (envelope-from gharris) 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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