public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Colby <jcolby@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Detecting when a USB device is attached
Date: Sun, 5 Feb 2006 17:09:43 -0500	[thread overview]
Message-ID: <c001995e0602051409l723aa2b9xeefc52365a740438@mail.gmail.com> (raw)

List members -

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.

I know this isn't exactly a gentoo question, but my PC is running
gentoo linux so I thought that I would try to ask here.

Thanks for any suggestion that you might have.

Warm Regards,
James

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-02-05 22:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-05 22:09 James Colby [this message]
2006-02-05 22:35 ` [gentoo-user] Detecting when a USB device is attached Maximilian Gass
2006-02-05 23:40 ` Neil Bothwick
2006-02-06  6:54   ` Canek Peláez
2006-02-06 11:24     ` Jan Callewaert
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=c001995e0602051409l723aa2b9xeefc52365a740438@mail.gmail.com \
    --to=jcolby@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