On Fri, 2004-01-02 at 21:26, Scott Paul Robertson wrote:
> New devfs device: /dev/scsi/host1/bus0/target0/lun0/disc
> Old device file: /dev/sda
>
> It lists 4 devices for the reader (there's four readers in it) as sda,
> sdb, sdc, sdd. In the devfs listing it changes lun0, lun1, lun2, lun3
>
> What do I need to do to set it up so I've got listings in /mnt?
The best diagnostic tool is cdrecord, believe it or not. It has a nifty
little tool invoked with the -scanbus option. Running that will give you
a list of all the attached SCSI devices, their descriptions and their
bus, target and lun numbers. For example:
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'PHILIPS ' 'PCRW1208 ' 'P3.1' Removable CD-ROM
0,1,0 1) *
scsibus1:
1,0,0 100) 'Sandisk' 'ImageMate SDDR09' '0208' Removable Disk
1,1,0 101) *
I've omitted a few lines for brevity. You can see that my card reader is
1,0,0.
One other thing that will probably help you. My card reader and many
others (all of them?) mount as read-only by default. For some reason the
kernel ignores read-write mount options. The driver does support
read-write mode, though, by remounting. So a command such as "mount -o
remount /mnt/camera" would enable writing. Maybe set up sudo to allow
regular users to set read-write.
Corey
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list