From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Erdfelt Date: Sun, 21 Jul 2002 17:54:14 +0000 Subject: Re: Support for multiple usermaps in hotplug usb.agent 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, Jul 22, 2002, Fumitoshi UKAI wrote: > At Thu, 18 Jul 2002 17:10:45 -0700, > Maksim (Max) Krasnyanskiy wrote: > > > Hi Ukai, > > > > We were discussing my proposal to introduce support for multiple usermaps > > in usb.agent > > on linux-hotplug-devel mailing list. David Brownell had a concern that my > > solution > > is different from Debian and therefor may introduce some problems. > > So I'd like to get your opinion, as a Debian hotplug maintainer, on that. > > hotplug.deb has update-usb.usermap(8) to manage such situations. > > > Basically the idea is simple. Packages/subsystems simply install their own > > XXX.usermap > > With update-usb.usermap(8), package install own usb.usermap in > /usr/lib/hotplug//usb.usermap, and do as follows > in postinst & postrm > if [ -x /usr/sbin/update-usb.usermap ]; then > /usr/sbin/update-usb.usermap > fi Why do you rebuild the usermap database. Would it be easier to just find a group of usermap's via a glob and then parse all of them each hotplug, like Maksim's patch? The only advantage I can think of rebuilding the database, is you can better control conflicts, but that's a tricky situation anyway. JE ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ 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