From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Sun, 21 Jan 2001 02:47:30 +0000 Subject: Re: Roadmap to restoring working usb module autoloading? 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 Sat, 20 Jan 2001 18:25:23 -0800, "Adam J. Richter" wrote: > Of course, it's also easy enough to stip out the code from >depmod that complains about the device ID version number differences >without changing anything else if device ID version numbers do get >integrated. And break everything downstream from depmod. Most (all?) of the utilities that read the depmod generated maps rely on the header line to tell them which format of table they are reading. One header line -> one supported table format in any map -> all input device ids must be the same for a map. If you want a generated map format that can cope with different input formats in the same map then each line needs a tag that says which fields it contains. Before you even think about that approach, be absolutely certain that the utilities which read the text can cope with missing or extra fields. Under all circumstances. Without ever making any errors. Assumptions about the side effects of missing or new fields must be valid for all fields, in all tables, forever. _______________________________________________ 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