From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 15 Jan 2004 14:49:10 +0000 Subject: Re: udev.rules.devfs patch Message-Id: <20040115144910.GA15656@vrfy.org> List-Id: References: <200401151523.58821.john-hotplug@fjellstad.org> In-Reply-To: <200401151523.58821.john-hotplug@fjellstad.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Jan 15, 2004 at 03:23:55PM +0100, John L. Fjellstad wrote: Content-Description: clearsigned data > Here is a patch for udev.rules.devfs to make it closer to devfs layout. > Basically, added discs/disc? directories, and the cdrom directory > -BUS="ide", id="1.1", NAME="ide/host0/bus1/target1/lun0/%D" > +BUS="ide", id="0.0", NAME="ide/host0/bus0/target0/lun0/%D", SYMLINK="discs/disc0/%D" How do you know, that the disc number you use is free? Did you try the ide-devfs.sh? We take care of it with the script. Greg, I would be happy to remove the ugly %D at all. It's unable to handle cdroms, an the 'dis[ck]'/'partition' thing is easy done by two rules. Then the dis[ck] decision is also up to the user :) Kay ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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