From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 28 Mar 2004 17:25:35 +0000 Subject: Re: cdrom link not created Message-Id: <20040328172535.GB5442@vrfy.org> List-Id: References: <200403281855.50290.treeve01@pi.be> In-Reply-To: <200403281855.50290.treeve01@pi.be> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Mar 28, 2004 at 06:55:39PM +0200, Treeve Jelbert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I am running udev-023 on /dev > > > the cdrom symlink is not created by the following rule > > # if this is a ide cdrom, name it the default name, and create a symlink to > cdrom > BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", > RESULT="cdrom", NAME="%k", SYMLINK="cdrom" > > > but when I ran udev on /udev, it did create the link > > > All other devices and symlinks are ok > > > If I create a symlink by hand, the device works ok > # ls -l cd* > lrwxrwxrwx 1 root root 3 2004-03-28 18:52 cdrom -> hdc > lrwxrwxrwx 1 root root 3 2004-03-28 18:31 cdrw -> sr0 > > Any thoughts on this? May be your timezone is still wrong :) No, please try RESULT="cdrom*". Seems we lost the newline removal before we compare the strings. thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ 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