Den 2026-05-30 kl. 15:33, skrev Jason Thorpe:
Good work! This means it would be quite simple to add bad144 to the vax drives missing it as well :-)On May 28, 2026, at 6:17 AM, Jason Thorpe <thorpej%me.com@localhost> 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
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