On Thursday, 27 בOctober 2005 20:24, Shachar Shemesh wrote:
> Yes, well. I tried those two, and as I said in my original email, they
> are not consistent enough. Some DoKs have the word "disk on key" in
> their "vendor", some in their "model", and some in neither.
At least for USB your suspicions seem correct. If you look at
<your_kernel_source>/drivers/usb/core/hub.c
in the beginning of usb_new_device() you'll find the three
standard strings provided by the device:
product, manufacturer, serial.
So these are not reliable.
Moreover, since USB is a protocol and mass storage device is
just a generic USB class, I don't think you can reliably
know what really sit at the other end of the wire -- someone
may build a device comprised of a a special keyboard to send USB
packets and a special screen to show packet contents and a note-taker
with a pencil in front of them -- if the note-taker is carefull,
you'll have a (very) slow storage device (a-la carrier pigeons).
[of course RAID > 1 is highly recommended ;-]
--
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED] http://www.actcom.co.il/~oron
ICQ UIN: 16527398
"The speed of light really is too slow nowdays." -- Alan Cox
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]