The reason I'm not elaborating beyond what I already said was that there
was not much to say. I'm trying to write something that will perform
some operation on all HARD DISKS in the system, ignoring non-mechanical
storage devices. There is something else I may want to do that I will do
only on DoKs.
Muli Ben-Yehuda wrote:
>On Fri, Oct 28, 2005 at 01:49:45AM +0200, guy keren wrote:
>
>
>>On Thu, 27 Oct 2005, Shachar Shemesh wrote:
>>
>>
>>
>>>Muli Ben-Yehuda wrote:
>>>
>>>
>>>
>>>>[EMAIL PROTECTED] 1:0:0:0]# cat vendor ; cat model
>>>>ATA
>>>>
>>>>
So a SCSI device is saying "ATA".....
>>according to the SCSI spec, the vendom and model come from a SCSI
>>"inquiry" command
>>
>This is true for real SCSI devices. Do you know if a usb-storage
>device talks SCSI all the way, or just utilizes the SCSI stack in the
>kernel, and translates e.g. inquiry to something USB specific?
>
>
I don't know, but I do know that I have two disk on keys that return
totally different results for both "vendor" and "model". However you put
it, this means these fields are of no help.
>>perhaps you should instead tell us why you're trying to do this, and what
>>is it that you're really trying to do.
>>
>>
>
>What he said.
>
>
Do you feel much better for knowing?
>Cheers,
>Muli
>
>
IF the kernel knows it, I may export it via sysfs. Frankly, I have my
doubts it can tell between a disk on key and a USB IDE interface, but I
may be wrong.
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]