From mboxrd@z Thu Jan 1 00:00:00 1970 From: janusz borowski Date: Mon, 20 Feb 2006 08:55:05 +0000 Subject: Re: printf in udev085 rules? ENV{MODALIAS}=="?*"... Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid3432&bid#0486&dat1642 >> >> > > > > > ------------------------------------------------------- > 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&kid3432&bid#0486&dat1642 ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ 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