From: Francisco Ares <frares@gmail.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Automounting USB drives
Date: Wed, 6 Aug 2014 13:12:34 -0300 [thread overview]
Message-ID: <CAHH9eM6rRDb219oEfXizcGrR2XFs2pDwLq2G3swh_cDM13ScYQ@mail.gmail.com> (raw)
In-Reply-To: <20140806150931.GA21316@waltdnes.org>
[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]
2014-08-06 12:09 GMT-03:00 Walter Dnes <waltdnes@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 <waltdnes@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
[-- Attachment #2: Type: text/html, Size: 2554 bytes --]
next prev parent reply other threads:[~2014-08-06 16:13 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-06 1:18 [gentoo-user] Automounting USB drives Chris Stankevitz
2014-08-06 5:36 ` Alan McKinnon
2014-08-17 19:23 ` thegeezer
2014-08-06 5:59 ` Wang Xuerui
2014-08-06 18:25 ` Chris Stankevitz
2014-08-06 15:09 ` Walter Dnes
2014-08-06 16:07 ` Neil Bothwick
2014-08-06 16:12 ` Francisco Ares [this message]
2014-08-06 18:29 ` Chris Stankevitz
2014-08-08 19:55 ` Neil Bothwick
-- strict thread matches above, loose matches on Subject: below --
2011-02-26 1:31 [gentoo-user] automounting usb drives luis jure
2011-02-26 1:42 ` Dale
2011-02-26 11:43 ` luis jure
2011-02-26 12:42 ` Marc Joliet
2011-02-26 13:30 ` luis jure
2011-02-26 14:46 ` luis jure
2011-02-26 14:47 ` Marc Joliet
2011-02-26 15:14 ` luis jure
2011-02-26 16:47 ` Marc Joliet
2011-02-26 15:17 ` Christoph Brendes
2011-02-26 15:27 ` luis jure
2011-02-26 15:41 ` Christoph Brendes
2011-02-27 3:20 ` Duong "Yang" Ha Nguyen
2011-02-27 11:13 ` luis jure
2011-02-27 12:39 ` Stéphane Guedon
2011-02-27 16:58 ` Stéphane Guedon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHH9eM6rRDb219oEfXizcGrR2XFs2pDwLq2G3swh_cDM13ScYQ@mail.gmail.com \
--to=frares@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox