Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
guaranteed scsi device ids?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
keschrich
n00b
n00b


Joined: 09 Apr 2002
Posts: 69
Location: Branford, CT

PostPosted: Tue Nov 25, 2003 9:40 pm    Post subject: guaranteed scsi device ids? Reply with quote

I have a zip drive, cdrw, compact flash reader, and usb pendrive, all of which are read as scsi devices..

currently, if i do a cdrecord -scanbus i get this:

Quote:

Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'Generic ' 'STORAGE DEVICE ' '0113' Removable Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'UFD' ' ' '' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus2:
2,0,0 200) 'IOMEGA ' 'ZIP 250 ' '51.G' Removable Disk
2,1,0 201) 'CDWRITER' 'IDE2410 ' 'A.23' Removable CD-ROM
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *


however, that changes depending on when i load ide-scsi drivers, and when each usb device is plugged into my system.. is there any way that i can say, for example, that i always want the zip drive and cd-rw on scsibus0, the flash reader on bus1, and the pendrive on device 2, so that i can actually create valid fstab entries for them?

any help appreciated,
thanks
Back to top
View user's profile Send private message
keschrich
n00b
n00b


Joined: 09 Apr 2002
Posts: 69
Location: Branford, CT

PostPosted: Tue Nov 25, 2003 10:48 pm    Post subject: Reply with quote

i was thinking, another method other than making the device ids static somehow, would be to have devfsd assign symlinks based upon the USB id....unfortunately i'm not too sure how to do that either.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum