From: Johannes Erdfelt <johannes@erdfelt.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Support for multiple usermaps in hotplug usb.agent
Date: Sun, 21 Jul 2002 17:54:14 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-102727411210000@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-102703767903147@msgid-missing>
On Mon, Jul 22, 2002, Fumitoshi UKAI <ukai@debian.or.jp> 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/<package>/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
next prev parent reply other threads:[~2002-07-21 17:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-19 0:10 Support for multiple usermaps in hotplug usb.agent Maksim (Max) Krasnyanskiy
2002-07-21 13:57 ` Maksim (Max) Krasnyanskiy
2002-07-21 13:58 ` Maksim (Max) Krasnyanskiy
2002-07-21 17:26 ` Fumitoshi UKAI
2002-07-21 17:54 ` Johannes Erdfelt [this message]
2002-07-22 4:55 ` David Brownell
2002-07-22 22:03 ` Maksim (Max) Krasnyanskiy
2002-07-24 1:34 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-102727411210000@msgid-missing \
--to=johannes@erdfelt.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).