2014-08-06 12:09 GMT-03:00 Walter Dnes <waltd...@waltdnes.org>:

> On Tue, Aug 05, 2014 at 06:18:44PM -0700, Chris Stankevitz wrote
> > Hello,
> >
> > Which package(s) do I need that allow:
> >
> > 1. A USB drive is inserted
> >
> > 2. The drive is mounted in some location automatically (e.g.
> /media/usbstick)
> >
> > 3. (2) happens even when the drive is an NTFS or FAT32 drive.
> >
> > 4. (1)-(3) happens even if I am not running a "GUI"
>
>   It can be done with udev rules.  See webpage
> http://www.tuxradar.com/answers/526#null  The suggested udev rule is...
>
> SUBSYSTEMS=="scsi", KERNEL=="sd[a-h][0-9]",
> SYMLINK:="removable%n", RUN+="/usr/bin/pmount /dev/removable%n"
>
>   It sets up devices /dev/removable1, /dev/removable2, etc, depending on
> the number of partitions on the USB device.  The regular user should
> able to unmount the device with the "pumount" command.  I'm not certain,
> but I believe that regular users need to be members of group "plugdev"
> to be able to access and unmount the USB drive.
>
>   Because this is done independantly of the GUI, I don't think it'll set
> up an icon automatically.
>
> --
> Walter Dnes <waltd...@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
>
>
Hi,

I have found some interesting places, this one the most of all:

http://forums.gentoo.org/viewtopic-t-350769-highlight-udev.html

Best regards,
Francisco

Reply via email to