Lionel Elie Mamane wrote:
>Try reading the "bus" entry in sysfs of the devices. For hard disks,
>it will point to an ide or scsi bus (as far as I guess, you don't need
>to differentiate between those) and for DoKs it will point to an USB
>bus. Ah no, there are USB-connected hard disks. I'm not sure the
>kernel can differentiate between USB DoKs and USB hard disks...
>
>
Let's forget USB connected HDs for a sec. They are not particularily
important to me. Your suggestion simply doesn't work. USB connected
devices have their "bus" entry pointing at the scsi bus.
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html
=================================================================
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]