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

Re: Module loading?



* Stephen Gran <gashuffer09@comcast.net> [2002-Aug-09 15:06 AKDT]:
> This one time, at band camp, Christopher Swingley said:
> > I'm new to modules.  I have a USB CompactFlash card reader that works
> > with the usb-storage module to present the card as a SCSI device
> > (/dev/sda1).  What I've been doing to read the card is:
> > 
> >     # insmod usb-storage
> >     # mount -t vfat /dev/sda1 /mnt/flashcard
> > 
> >     (do whatever)
> > 
> >     # umount /mnt/flashcard
> >     # rmmod usb-storage
> > 
> > What I want to happen is: when I plug in the card reader, the
> > usb-storage module automatically gets loaded.  And when I unplug it,
> > the usb-storage module is automatically unloaded.
>
> I think you just need an entry in fstab to allow non-root mounting of
> it.  As for the hotplug tools, I can't help you there.

Hmm, hotplug sounds like a good lead. . .

Thanks,

Chris
-- 
Christopher S. Swingley           phone: 907-474-2689
IS Professional                   email: cswingle@iarc.uaf.edu
IARC -- Frontier Program          GPG and PGP keys at my web page:
University of Alaska Fairbanks    www.frontier.iarc.uaf.edu/~cswingle

Attachment: pgprgoC77Z361.pgp
Description: PGP signature


Reply to: