From owner-freebsd-current Wed Jul 4 10:46:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 64A3A37B401; Wed, 4 Jul 2001 10:46:34 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.11.3/8.11.3) id f64HkYk14178; Wed, 4 Jul 2001 10:46:34 -0700 (PDT) (envelope-from kargl) From: "Steven G. Kargl" Message-Id: <200107041746.f64HkYk14178@troutmask.apl.washington.edu> Subject: Re: diskcheckd goes nuts on /dev/cd0 In-Reply-To: <20010704153625.A97328@strontium.shef.vinosystems.com> "from Ben Smithurst at Jul 4, 2001 03:36:25 pm" To: Ben Smithurst Date: Wed, 4 Jul 2001 10:46:34 -0700 (PDT) Cc: freebsd-current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ben Smithurst said: > Steven G. Kargl wrote: > > > last message repeated 3 times > > diskcheckd[213]: error reading 512 bytes from sector 0 on /dev/cd0 > > I was gonna commit a fix for this, but after reporting the problem DES > never tested the patch I supplied. :-( > > I'll commit it later hopefully; se@ did test it and it worked for him... Ah, okay. I checked GNATS and freebsd-current mailing list archive, but I could not locate any relevant PR's or posts. > > > As a side question, why is diskcheckd even looking at at /dev/cd0? > > Because my only current system when I was writing diskcheckd didn't have > a CD drive so I didn't think to tell it not to check them. Sorry... > > I'll commit a patch soon that allows you to specify drives to exclude, > and the default config file will exclude cd*, acd*, and md*. > Do you need to special case tape drives, floppies, zip, etc? If so, you might want to exclude all devices except those that start with da and ad. -- Steve http://troutmask.apl.washington.edu/~kargl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message