From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Sun, 28 Mar 2004 17:06:34 +0000 Subject: Re: cdrom link not created Message-Id: <20040328170634.GA6374@wonderland.linux.it> 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 Mar 28, Treeve Jelbert wrote: > 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" This rule is broken anyway, because a system may have e.g. a cd reader and a burner. On my system I use a standalone rule to associate a generic symlink to the right hardware device: BUS="ide", ID="1.0", SYMLINK="cdrom" I think that the distribution installer should create such rules for available devices. -- ciao, | Marco | [5407 maOqbOgghlcDQ] ------------------------------------------------------- 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