Subject: Re: badsect on NetBSD 1.0
To: Terry Moore <tmm@mcci.com>
From: VaX#n8 <vax@linkdead.paranoia.com>
List: port-i386
Date: 05/25/1996 21:03:07
In message <199605230337.XAA16412@mcci.com>, Terry Moore writes:
>	# mount /wd0f	 		-- mounting the device
>	# badsect /wd0f/BAD 1919748 	-- per the man page
>I get:
>	/dev/wd0f: device busy

If badsect is trying to open the device file while it is mounted,
as the error message would seem to indicate, this would be prohibited
by the 4.4BSD security model at whatever the default security level is (1).
It's academic now, but a fix might be to run at securelevel 0.
Yet another fix might be to recode badsect :-/

I'm pulling this from memory (or a reasonable facsimilie thereof),
so forgive any errors.