From: Jesse Stockall <stockall@magma.ca>
To: linux-hotplug@vger.kernel.org
Subject: Log actions releated to /etc/dev.d scripts
Date: Fri, 15 Oct 2004 12:58:40 +0000 [thread overview]
Message-ID: <1097845120.5114.32.camel@homer.blizzard.org> (raw)
Hi
I was trying to debug a script from /etc/dev.d and found that nothing is
logged, even when logging is enabled in udev.conf. This little patch
makes is a heck of a lot easier to see what is going on.
--- udev-038/dev_d.c-orig 2004-10-14 15:26:53.517860168 -0400
+++ udev-038/dev_d.c 2004-10-14 15:27:05.758999232 -0400
@@ -41,7 +41,7 @@
int fd;
char *argv[3];
- dbg("running %s", name);
+ info("running %s", name);
pid = fork();
switch (pid) {
Jesse
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2004-10-15 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-15 12:58 Jesse Stockall [this message]
2004-10-15 17:06 ` Log actions releated to /etc/dev.d scripts Kay Sievers
2004-10-15 17:26 ` Jesse Stockall
2004-10-15 17:54 ` Kay Sievers
2004-10-15 18:11 ` Jesse Stockall
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=1097845120.5114.32.camel@homer.blizzard.org \
--to=stockall@magma.ca \
--cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).