linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: janusz borowski <bor@fuw.edu.pl>
To: linux-hotplug@vger.kernel.org
Subject: Re: printf in udev085 rules?  ENV{MODALIAS}=="?*"...
Date: Mon, 20 Feb 2006 08:55:05 +0000	[thread overview]
Message-ID: <dtbvll$360$1@sea.gmane.org> (raw)

Hi,
also in v085 (ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug)
there are "printfs" in rules:
udev.rules
50-udev-default.rules
for SUBSYSTEM="usb_device" and "dvb".
Maybe, in that moment when subsytems "dvb" and "usb_device" exists
there is also defined stdout (or stderr ???)-
am I right?
Thanks in advance
janusz

Janusz Borowski wrote:
> Thanks very much for information!
> But, it is very surprising for me:
> what could be a reason to put "printf" in the maintainer's
> set of rules (eg. devfs.rules)????
> For future applications???
> janusz
> 
> On Sun, 19 Feb 2006, Greg KH wrote:
> 
> 
>>On Sun, Feb 19, 2006 at 12:09:24PM +0100, Janusz Borowski wrote:
>>
>>>Hi,
>>>I would like to know if printf in udev rules could at all do something?
>>
>>No, as there is no "console" at that point in time to be able to print
>>to.
>>
>>Try writing to a file instead.
>>
>>Hope this helps,
>>
>>greg k-h
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>for problems?  Stop!  Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
>>
>>
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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

             reply	other threads:[~2006-02-20  8:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20  8:55 janusz borowski [this message]
2006-02-20 14:36 ` printf in udev085 rules? ENV{MODALIAS}=="?*" Kay Sievers

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='dtbvll$360$1@sea.gmane.org' \
    --to=bor@fuw.edu.pl \
    --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).