From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Fri, 31 Mar 2006 05:46:04 +0000 Subject: Re: persistent CD aliases Message-Id: <442CC21C.8010304@ums.usu.ru> List-Id: References: <20060329115013.GA9763@wonderland.linux.it> In-Reply-To: <20060329115013.GA9763@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > I am attaching the rules and the script which I am using in the Debian > package to generate on demand aliases for CD readers. Suppose the following scenario: 1) Someone has /dev/hdc as his only CD-ROM 2) He boots the computer, the script creates the /dev/cdrom -> hdc symlink 3) He powers the computer off, moves the CD-ROM to /dev/hdd, adds a disk as /dev/hdc, and boots again 4) The script creates /dev/cdrom1 -> hdd cymlink. The old /dev/cdrom -> hdc symlink stays, but points to some non-CD-ROM device. Should one treat this as a bug? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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