From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 26 Jan 2004 23:42:21 +0000 Subject: Re: [PATCH] multple rules files support/symlink rules support Message-Id: <20040126234221.GA11473@vrfy.org> List-Id: References: <200401172313.00189.arvidjaar@mail.ru> In-Reply-To: <200401172313.00189.arvidjaar@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Jan 26, 2004 at 08:31:23PM +0300, Andrey Borzenkov wrote: > On Thursday 22 January 2004 20:44, Svetoslav Slavtchev wrote: > > > On Sat, Jan 17, 2004 at 11:13:00PM +0300, Andrey Borzenkov wrote: > > > > Attached patch adds support for > > > > > > > > - multiple rules files. You can now do ... > I do not :) the only reason to allow multiple files was to allow overriding; I > had to update patch for ude-014 and sorting directory contents turned out to > be quite easy so this is the final version - it takes single name which is > either file or directory; directory is scanned, sorted in ascending order and > read. klibc version does not support directory. > > > > > > > I don't really understand this. Can you give an example of how this > > > would work? Why do we want to have multiple symlinks from different > > > rules? > > you simply can't easily merge these two rules. Allowing second rule (in second > file) is much more flexible - you simply get two symlinks pointing to the > same file. None of them knows or cares about device is really named as long > as symlinks are correctly created. > > because this version assumes configuration be ordered it now ignores name only > if it has not already been defined; else name with empty NAME/SYMLINK is > silently ignored. Uhh, why do this inside of udev? You must be root to setup the rules. So we can expect that you are able to run a update script or something that creates the main file. This can also merge your conflicting rules if needed. thanks, Kay ------------------------------------------------------- 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