Subject: Re: badsect work?
To: Robert Dobbs <email@example.com>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
Date: 03/22/1995 17:26:47
> New drive with netbsd installed. Hits a bad sector on one of the partitions.
> I try to remove it with badsect and get this error:
> gabriella# badsect BAD 181550
> /dev/wd0g: Device busy
my take on this is that:
(1) you're running badsect with the partition mounted,
(2) badsect is trying to use the block partition to do its operation.
I'd say that (given what badsect does) you shouldn't run it on a on a
mounted file system/disk, and you should definitely fsck the affected
Of course, i've never actually _used_ badsect, so...