From owner-freebsd-hackers Thu Jun 7 15:11: 8 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from superconductor.rush.net (superconductor.rush.net [208.9.155.8]) by hub.freebsd.org (Postfix) with ESMTP id 8DCC737B405 for ; Thu, 7 Jun 2001 15:11:05 -0700 (PDT) (envelope-from bright@superconductor.rush.net) Received: (from bright@localhost) by superconductor.rush.net (8.11.2/8.11.2) id f57MAhN30422; Thu, 7 Jun 2001 18:10:43 -0400 (EDT) Date: Thu, 7 Jun 2001 18:10:42 -0400 From: Alfred Perlstein To: Dave Hayes Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Why does fsck try to fsck a CDROM? Message-ID: <20010607181041.A1832@superconductor.rush.net> References: <200106072202.PAA04400@hokkshideh.jetcafe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <200106072202.PAA04400@hokkshideh.jetcafe.org>; from dave@jetcafe.org on Thu, Jun 07, 2001 at 03:02:06PM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Dave Hayes [010607 18:02] wrote: > If I boot from a CDROM (of my own creation admittedly), fsck -p > wants to fsck the CD partition, /dev/ad0c. It is mounted as root. from fstab(5): 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 filesys- tems 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 is zero, a value of zero is returned and fsck(8) will assume that the filesystem does not need to be checked. -- -Alfred Perlstein [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message