Subject: Re: bad144 on IDE disks
To: None <port-i386@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: port-i386
Date: 07/16/2001 08:17:15
In message <200107151707.f6FH7AM11962@ginger.cmf.nrl.navy.mil>
	on Sun, 15 Jul 2001 13:07:10 -0400,
	Ken Hornstein <kenh@cmf.nrl.navy.mil> wrote:
> >What size of your IDE disks?
> 
> 4 GB.
OK, then you can use bad144.

> >Did you actually set "badsect" flag to the disklabel?
> 
> Actually ... no, I didn't.  But my quick reading of bad144 was that it
> did it for you.  Do you have to use disklabel to do it?  If so, then how?
To use bad144(8),

1. Keep spair sector in the raw partition.

	1 track + 126 sector

2. Add "badsect" flag to the disklabel, using disklabel(8).

3. Initialize bad144 table.

	# bad144 wd0 0

4. Add bad sector using bad144(8) with -a option.

--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>