* Re: printf in udev085 rules? ENV{MODALIAS}=="?*"...
@ 2006-02-20 8:55 janusz borowski
2006-02-20 14:36 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: janusz borowski @ 2006-02-20 8:55 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-20 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 8:55 printf in udev085 rules? ENV{MODALIAS}=="?*" janusz borowski
2006-02-20 14:36 ` Kay Sievers
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).