Re: bad144 - how useful still? Because it's annoyingly ubiquitous.

Anders Magnusson <[email protected]> Sat, 30 May 2026 16:12:17 +0200
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Den 2026-05-30 kl. 15:33, skrev Jason Thorpe:
> 
>> On May 28, 2026, at 6:17 AM, Jason Thorpe <[email protected]> wrote:
>>
>> I think everyone is over-thinking this, here.  What I intend to do is quite minimally-invasive and leaves the logic in the individual drivers that consume it essentially intact (a flag-in-the-disklabel check will be replaced by a pointer-in-the-softc check for “maybe we have to re-map a sector”).
> 
> Well, in any case, here’s the diff that re-factors bad144 stuff (mostly) into “one” place.
> 
>      https://www.netbsd.org/~thorpej/bad144-refactor-diffs.txt
>
Good work!  This means it would be quite simple to add bad144 to the vax 
drives missing it as well :-)

Just for curiosity; why did the Sun SMD drives use bad144?  Was it 
something that Sun did or was it added by us? (since it's a DEC thingie).

-- R