From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 13 Nov 2004 00:06:24 +0000 Subject: Re: udev rules for /dev/discs/disc0 Message-Id: <20041113000624.GA17877@kroah.com> List-Id: References: <41922028.2080809@grupopie.com> In-Reply-To: <41922028.2080809@grupopie.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Nov 10, 2004 at 02:05:28PM +0000, Rui Carvalho wrote: > Hi! > > I'm changing from devfs to udev, and since I have some hardcoded > scripts, I'd like to keep compatibility with devfs device naming scheme. > > My only problem is how to make the rules for hda, hdb, sda, sdb ... to > have symlinks in > /dev/discs/disc0 > /dev/discs/disc1 > ... and so on. Use the supplied shell scripts in the udev extras/ directory. They should be able to provide you with this functionality (hint, gentoo's rules are setup this way by default, so you might want to look at them.) Good luck, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ 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