[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB Device mounting



On Wed, Dec 17, 2003 at 07:52:59PM +0000, Tom Badran wrote:
> Is there anyway i can get usb (and firewire if possible) mass storage devices 
> to automount and put an icon on the users kde desktop when a device is 
> plugged in? If i could do this without some prior knowlege in the fstab about 
> the devices that would be even better.
> 
> if i could just apt-get something that does this for me.

If your mass storage devices are like mine they will appear as a generic
scsi devices: /dev/sda, /dev/sdb, etc. In that case I think that there
are programs in the scsitools package to handle this.

I think scsidev from that package is what you are looking for:
       
       scsidev - populate /dev/scsi with  device  names  that  are
       persistent against SCSI configuration changes.

I haven't really used it that much but it seems to generate device nodes
in the /dev/scsi/ directory. I have:

bijan@server:/dev/scsi$ ls
sdh1-0c0i0l0  sdh1-0c0i0l0p1  sgh1-0c0i0l0

Hope that helps,
Bijan
-- 
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com

Attachment: signature.asc
Description: Digital signature


Reply to: