From owner-freebsd-hackers Fri Jun 8 2:17:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 686BD37B401 for ; Fri, 8 Jun 2001 02:17:37 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.138.245.Dial1.SanJose1.Level3.net [209.245.138.245]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id CAA11862; Fri, 8 Jun 2001 02:17:29 -0700 (PDT) Message-ID: <3B209846.152DCFE7@mindspring.com> Date: Fri, 08 Jun 2001 02:17:58 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dave Hayes Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Why does fsck try to fsck a CDROM? References: <200106080209.TAA08276@hokkshideh.jetcafe.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 wrote: > > David O'Brien -Hackers writes: > > You mentioned though that your CDROM is /. How about posting the real > > /etc/fstab from your root partition for us to have a look at? > > There is none. No default fstab exists. There is no Dana, only Zuul... I think that root gets fsck'ed in the rc files, even if there is no /etc/fstab, on the theory that that might be one of the reasons fsck needs to be run. Fsck normally runs on root when it is mounted r/o, and root gets mounted r/w only after it passes. The question is whether you can distinguish between a r/o device vs. a r/o mount of a r/w device... that is what fsck would have to do to decide to skip the fsck entirely for a cdrom. ...on the other hand, you could have burnt a dirty FS on the CDROM, in which case, it should check it and refuse to boot until you "fix" the errors by running fsck manually (quite the trick with the hole in it)... 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message