RE: FireWire disk

2002-09-06 Thread Spanke, Alexander
Title: Nachricht



Hi,

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 
  AMTo: 'Redhat List'Subject: FireWire 
  disk
  Hi 
  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


RE: FireWire disk

2002-09-06 Thread Pranay Kumar
Title: Message



Hi,

The 
module used for my purpose is sbp2

cat 
/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, AlexanderSent: Friday, September 06, 2002 
  4:36 PMTo: '[EMAIL PROTECTED]'Subject: RE: FireWire 
  disk
  Hi,
  
  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 AMTo: 'Redhat List'Subject: FireWire 
disk
Hi 
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


RE: FireWire disk

2002-09-06 Thread Spanke, Alexander
Title: Nachricht



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 
  PMTo: [EMAIL PROTECTED]Subject: RE: FireWire 
  disk
  Hi,
  
  The 
  module used for my purpose is sbp2
  
  cat 
  /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, AlexanderSent: Friday, September 06, 2002 
4:36 PMTo: '[EMAIL PROTECTED]'Subject: RE: 
    FireWire disk
Hi,

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 AMTo: 'Redhat List'Subject: FireWire 
  disk
  Hi 
  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


RE: FireWire disk

2002-09-06 Thread Pranay Kumar
Title: Message



sorry 
my mistake should have read /proc/scsi/sbp2/1 

-PK

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 
  Behalf Of Spanke, AlexanderSent: Friday, September 06, 2002 
  6:44 PMTo: '[EMAIL PROTECTED]'Subject: RE: FireWire 
  disk
  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 PMTo: [EMAIL PROTECTED]Subject: RE: 
FireWire disk
Hi,

The module used for my purpose is sbp2

cat /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, AlexanderSent: Friday, September 06, 2002 
  4:36 PMTo: '[EMAIL PROTECTED]'Subject: RE: 
  FireWire disk
  Hi,
  
  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 AMTo: 'Redhat List'Subject: 
FireWire disk
Hi 
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