public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jan Callewaert <jan.callewaert@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Detecting when a USB device is attached
Date: Mon, 6 Feb 2006 12:24:00 +0100	[thread overview]
Message-ID: <200602061224.04254.jan.callewaert@gmail.com> (raw)
In-Reply-To: <ee2a916a0602052254n11452f38qde469b74e9cff99c@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

Op maandag 6 februari 2006 07:54, schreef Canek Peláez:
> GNOME 2.12 do this for you, if you put yourself in the plugdev group.
> It just works.
>
> Canek
>

Just like KDE 3.5

Jan

> On 2/5/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> > On Sun, 5 Feb 2006 17:09:43 -0500, James Colby wrote:
> > > I was wondering if anybody knew of a package or a method that I could
> > > use to detect when a USB mass storage device is attached to my PC.
> > > What I would like to be able to do is to write a small script that
> > > would mount my USB mass storage device, sync up a directory, and then
> > > unmount the device everytime I plug my USB drive into the computer.
> >
> > Udev will take care of this. all you need is a udev rule that matches the
> > particular device and calls a script that carries out the actions you
> > want. See http://www.reactivated.net/udevrules.php for plenty on writing
> > udev rules.
> >
> >
> > --
> > Neil Bothwick
> >
> > Newsflash! Explosion at M$ beta testsite - Infinite number of monkeys
> > killed.
>
> --
> Canek Peláez Valdés
> Facultad de Ciencias, UNAM

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-02-06 11:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-05 22:09 [gentoo-user] Detecting when a USB device is attached James Colby
2006-02-05 22:35 ` Maximilian Gass
2006-02-05 23:40 ` Neil Bothwick
2006-02-06  6:54   ` Canek Peláez
2006-02-06 11:24     ` Jan Callewaert [this message]
2006-02-06 11:40       ` Neil Bothwick
2006-02-06 12:48       ` Iain Buchanan
2006-02-06 13:36         ` [gentoo-user] " James
2006-02-06 14:08           ` Neil Bothwick
2006-02-06 14:12             ` Richard Fish
2006-02-06 15:20               ` James
2006-02-06 18:00                 ` Uwe Thiem
2006-02-07  8:47                   ` Neil Bothwick
2006-02-06 15:07             ` Uwe Thiem
2006-02-06 17:39               ` Neil Bothwick

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=200602061224.04254.jan.callewaert@gmail.com \
    --to=jan.callewaert@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