From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 01 May 2006 00:16:40 +0000 Subject: Re: cdrom_id availability Message-Id: <20060501001640.GA372@vrfy.org> List-Id: References: <1146441853.4455507d7ab80@cs1.alpha12.l-secure.net> In-Reply-To: <1146441853.4455507d7ab80@cs1.alpha12.l-secure.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0709&bid&3057&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