[mythtv] scsi, firewire drive and usb drive
maxpower44 at tiscali.fr
Wed Jul 14 17:33:30 EDT 2004
Joseph A. Caputo wrote:
> On Wednesday 14 July 2004 15:57, Xavier Hervy wrote:
>>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
>>>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 ?
> Yes, my drive is plugged in before booting.
> I *think* that the FireWire drive gets /dev/sda even if I plug it in
> after booting. I will try to remember to test that when I get home.
I don't *think* that. My external drive can be plugged in firewire or
usb. when i plug first in firewire and after in usb i have
if plug firts in usb and after on firewire
then i think than can be change for ide-scsi too
More information about the mythtv-dev