From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Mon, 22 Jan 2001 23:42:27 +0000 Subject: Re: modutils 2.4.2, please test asap Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 22 Jan 2001 15:21:33 -0800, David Brownell wrote: >Ah, but the hotplug utilities use it. > >A pure 2.2 system (kernel + modutils) has no "modules.*map" files. >A pure 2.4 system (ditto) does have them. > >But 2.2.18 kernel + 2.4 modutils will generate "modules.*map" files, >which is not compatible with the previous behavior of 2.2 modutils >with such kernels. Tricky. Something has to know whether to use modules.usbmap or not on 2.2. This is one occasion when _not_ creating a file might be the correct approach. If I change modutils 2.4.2 to unlink existing map files and only create a new map file if at least one module contains that map, will that fix the 2.2 problem? What, if anything, will break if maps files are not always created? >I forget (haven't used 2.2 in a long time) -- does 2.4 modutils >keep to the 2.2 style module tree on 2.2 kernels, or does it change >that around too? Modutils 2.4 handles both directory styles under /lib/modules/, for backwards compatibility. It is the kernel Makefile which sets the directory style for /lib/modules and there are no plans to backport the 2.4 style to 2.2. AC will not take a 2.2 kernel patch that forces users to upgrade their user space utilities. _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel