Hi,
whats
about the /proc/scsi files ? There should be an entry which drives are
installed, with description and type.
Alex
-----Original Message-----
From: Pranay Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: RE: FireWire diskHi,The module used for my purpose is sbp2cat /proc/sbp2/1 gives "driver does not support proc_fs"/var/log/messages do give this information... but parsing that in my C code is hell of a job.. sure there must be a better way.-PK-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Spanke, Alexander
Sent: Friday, September 06, 2002 4:36 PM
To: '[EMAIL PROTECTED]'
Subject: RE: FireWire diskHi,look at the boot Log-File or the /proc Filesystem.Alex-----Original Message-----
From: Pranay Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 10:31 AM
To: 'Redhat List'
Subject: FireWire diskHi all,I use external FW hdd in my program. When I plug it into the system, it is auto detected and appears as a scsi disk. So far good. Now the problem is the mapped scsi depends on the already present scsi disks on the system and could be sda sdb sdc etc. How can I find out from my program wheather any firewire HDDs are connected and whatz their number (sd?).-Pranay