From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Run a custom script after USB mount
Date: Sat, 18 Apr 2015 14:36:54 +0200 [thread overview]
Message-ID: <20150418143654.021fa104@free-electrons.com> (raw)
In-Reply-To: <CADKZYYLY_bj7b-8vJ+ztgxc2zjuxKLJgxAJ0e4XY681=h2aj=Q@mail.gmail.com>
Dear Santhosh Ramani,
On Fri, 17 Apr 2015 11:37:41 -0500, Santhosh Ramani wrote:
> I checked the daemons that are running, and it seems udev is running.
> However, I do see /sbin/mdev and /sbin/udevd, so not entirely sure which
> one is running. Under System Configuration /dev management, I do have eudev
> selected rather than mdev.
>
> But regardless, shouldn't the script execute when USB is detected. I see
> that it gets mounted properly at /media/usb0 but the script doesn't seem to
> run.
You may want to try 'udevadm --monitor' or something similar to debug
the udev events.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-04-18 12:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 15:21 [Buildroot] Run a custom script after USB mount Santhosh Ramani
2015-04-17 16:23 ` Lionel Orry
2015-04-17 16:37 ` Santhosh Ramani
2015-04-18 12:36 ` Thomas Petazzoni [this message]
2015-04-23 3:02 ` Santhosh Ramani
2015-04-23 3:44 ` Santhosh Ramani
2015-04-23 19:56 ` Arnout Vandecappelle
2015-04-23 23:04 ` Santhosh Ramani
2015-04-28 18:51 ` Arnout Vandecappelle
2015-04-29 3:01 ` Santhosh Ramani
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=20150418143654.021fa104@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.