[mythtv] scsi, firewire drive and usb drive

Xavier Hervy maxpower44 at tiscali.fr
Wed Jul 14 15:57:50 EDT 2004


Joseph A. Caputo wrote:

> On Wednesday 14 July 2004 15:00, Xavier Hervy wrote:
> 
>>If someone have an scsi drive or cdrom and a removable drive on
>>firewire or on usb, I would know :
>>In which /dev/sd? are scsi drive or cdrom
>>In which /dev/sd? are  removable drive.
>>For firewire user a file are create when you plug your firewire drive
>>in /proc/scsi/sbp2/* can i know the name (it should be a number) For
>>usb user, a file are create when you plug your usb drive in
>>/proc/scsi/usb-storage-?/* can i know the name too
>>
>>I would like implement mediamonitor for firewire/usb drive. I have
>>notice that the file create when you plug the drive give the /dev/sd?
>>That mean if the file is "0", device is /dev/sda, if the file is "1",
>>device is /dev/sdb. But i don't know if it's true even if you have
>>cdrom / drive on scsi
>>Xavier
> 
> 
> I have an external firewire drive, plus a CD burner using ide-scsi 
> emulation.  The CD burner is /dev/scd0 (really IDE/ATAPI on /dev/hdc).  
> The FireWire drive is /dev/sda.  Sorry, I don't have any 'real' SCSI 
> drives.  Hope this helps...
> 
> 'ls /proc/scsi/sbp_2' gives me '0'.
> 'ls /proc/scsi/ide-scsi' gives me '1'.
> 
Thx for your help. I don't think about ide-scsi emulation.
Can you tell if you plug before nooting your computer ? if so, try the 
same thing without plug the external firewire drive. boot your computer 
and then plug the firewire.
Did you have the same result ?

I still interested about response from user who have real scsi.
Xavier




More information about the mythtv-dev mailing list