linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cdrom_id availability
@ 2006-05-01  0:04 juuso.alasuutari
  2006-05-01  0:16 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: juuso.alasuutari @ 2006-05-01  0:04 UTC (permalink / raw)
  To: linux-hotplug

Hello. There are lines like this in the Source Mage default rules file:

BUS="scsi",    KERNEL="sr[0-9]*", ACTION="add", IMPORT="cdrom_id --export
$tempnode"

cdrom_id is installed in /lib/udev/, but that directory is not in $PATH. My
question is: Will that rule actually execute cdrom_id, or should it be changed
to ...="/lib/udev/cdrom_id --export $tempnode"?

Juuso

----------------------------------------------------------------
This mail sent through L-secure: http://www.l-secure.net/



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&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

* Re: cdrom_id availability
  2006-05-01  0:04 cdrom_id availability juuso.alasuutari
@ 2006-05-01  0:16 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2006-05-01  0:16 UTC (permalink / raw)
  To: linux-hotplug

On Mon, May 01, 2006 at 03:04:13AM +0300, juuso.alasuutari@tamperelainen.org wrote:
> Hello. There are lines like this in the Source Mage default rules file:
> 
> BUS="scsi",    KERNEL="sr[0-9]*", ACTION="add", IMPORT="cdrom_id --export
> $tempnode"
> 
> cdrom_id is installed in /lib/udev/, but that directory is not in $PATH. My
> question is: Will that rule actually execute cdrom_id, or should it be changed
> to ...="/lib/udev/cdrom_id --export $tempnode"?

If the value does not start with a '/', the program is searched in
/lib/udev. All udev pathes have to be absolute ones or only the
single program name and then live in /lib/udev. $PATH is completely 
ignored.

Kay


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&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-05-01  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01  0:04 cdrom_id availability juuso.alasuutari
2006-05-01  0:16 ` 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).