From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darren Salt Date: Fri, 27 Jan 2006 17:08:25 +0000 Subject: Re: 082 cdsymlinks Message-Id: <4DEFE20BD3%linux@youmustbejoking.demon.co.uk> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org I demand that Kay Sievers may or may not have written... [snip] > o Or make it automatically write rules for new devices and assign them a > new name. That way you get at least everytime the same name, even when > hardware of the same class is removed from the system which would break > any simple enumeration. ... for some values of "break". I'm thinking now, given your insistence on generated rules, that perhaps a sequence number which does nothing more than provide the order in which the devices should be numbered would be a Good Thing. That way, assuming hdc=CDrom and hdd=CDrom1 and there are no other cdrom* devices, physically removing hdc would cause hdd to become cdrom after the next reboot - but hdb would become cdrom2 regardless (even though this Just Feels Wrong), unless the system was told that hdc was permanently gone. This is a matter of compatibility: there are programs and libraries which do things such as check only /dev/cdrom or default to /dev/cdrom: the VideoCD input module in xine-lib defaults to /dev/cdrom, and its DVD input module defaults to /dev/dvd. Feel free to submit patches :-> --=20 | Darren Salt | d youmustbejoking,demon,co,uk | nr. Ashington, | Debian, | s zap,tartarus,org | Northumberland | RISC OS | @ | Toon Army | Let's keep the pound sterling Money can't buy you friends, but you get a better class of enemy. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642 _______________________________________________ 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