From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 15 Jan 2004 21:43:06 +0000 Subject: Re: udev.rules.devfs patch Message-Id: <20040115214306.GH22433@kroah.com> 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 04:07:53PM +0100, Kay Sievers wrote: > On Thu, Jan 15, 2004 at 10:00:55AM -0500, Martin Hicks wrote: > > On Thu, Jan 15, 2004 at 03:49:10PM +0100, Kay Sievers wrote: > > > 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 :) > > > > Please don't get rid of %D. I just started using it. The problem that > > I'm dealing with is that the directory where the devfs names are created > > are unpredictable so my callout returns the directory that I'm to create > > the devfs names in and I do something like: > > > > BUS="scsi", CALLOUT="blah", ID="*", NAME="%c/%D", SYMLINK="%c/theAlias" > > I don't see your need. > Just use two rules matching with the kernel name, or handle the %D in your script. > And ID= is gone now, in udev v013. We are using RESULT= instead. > > I vote for killing the %D :) I do to. I'll go remove it now. Martin, if you _really_ think you still need it, please post your scripts, and let us determine if there's an easier way to do what you are wanting to do. thanks, greg k-h ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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