Re: USB vendor/product sanitization
jslee <[email protected]>
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 15 Aug 2026, at 17:18, Greg Steuck wrote: > I noticed this oddity in my dmesg: > umass0 at uhub5 port 4 configuration 1 interface 0 "Obreey > Verse > " rev 2.00/1.01 addr 9 > umass0: using SCSI over Bulk-Only > > Apparently the vendor stuck a trailing \n into both product and vendor > fields. We could trim them though I wonder if it's worth the trouble > (Linux dmesg similarly gets some empty lines). If it is then do we care > to do more than the bare minimum? These "bonus" newlines (and potentially other gunk) would break an awk gadget I made to turn dmesg into graphviz, so from a selfish point of view: yes please! John