NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Ged USB VID/PID from the scsi device name

On Tue, Nov 28, 2017 at 08:42:47AM +0100, Martin Husemann wrote:
> On Mon, Nov 27, 2017 at 05:56:11PM +0100, Samorukov,Alexey wrote:
> > Smartmontools maintains database with usb vid/pid + fw version to
> > find the best match. 
> But for what?
> The SMART values supervised by smartmontools should not depend on any of
> this.
> Is it completely cosmetic?

The alternative would be to probe with different commands (SAT-16, SAT-12,
vendor proprietary, ...) until you get a result. But what if the interface
chip locks up when being "probed" or when a command has a different
meaning ("destroy disk") ?

Apparently smartmontools tries to avoid these questions by identifying
the USB-SATA bridge first.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index