[mythtv] scsi, firewire drive and usb drive

Xavier Hervy maxpower44 at tiscali.fr
Wed Jul 14 15:00:02 EDT 2004


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



More information about the mythtv-dev mailing list