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

Jason Thorpe <[email protected]> Sun, 31 May 2026 10:16:39 -0400
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
> On May 31, 2026, at 10:10 AM, Jason Thorpe <[email protected]> wrote:
> 
> 
>> On May 31, 2026, at 7:07 AM, Thor Lancelot Simon <[email protected]> wrote:
>> 
>> The underlying hardware's often the same (CDC made the guts of plenty of
>> DEC drives), SMD drives internally have no facility for sparing out sectors,
>> and I wonder whether Sun did in fact do it.  However, I just Googled around
>> for SunOS 3 source code and I see no evidence of a bad144 utility, though
>> I did not dig through the kernel looking for driver support.
> 
> SunOS 3 certainly had a flag for "use DEC std 144" in the dk_info structure (<sun/dkio.h>).

…and it certainly appears that the SunOS 3 “xy” driver uses it, including with big-endian fields, heh.

-- thorpej