From: Marcus Meissner <Marcus.Meissner@caldera.de>
To: andrewm@uow.edu.au (Andrew Morton), linux-kernel@vger.kernel.org
Subject: Re: hotplug mopup
Date: Sun, 10 Dec 2000 16:10:01 +0100 [thread overview]
Message-ID: <200012101510.QAA29551@ns.caldera.de> (raw)
In-Reply-To: <3A3377B3.FDCBE4AD@uow.edu.au>
In article <3A3377B3.FDCBE4AD@uow.edu.au> you wrote:
> A compendium of questions and misc stuff concerning hotplug:
> - Is everyone happy with call_usermodehelper() being asynchronous? It
> _could_ be given a `synchronous' option, but that's a fair bit of
> obfuscation and it does expose us to deadlocks if the caller has any
> semaphores held.
I am happy.
> - On the unregister/removal path, the netdevice layer ensures that
> the interface is removed from the kernel namespace prior to launching
> `/sbin/hotplug net unregister eth0'.
> This means that when handling netdevice unregistration
> /sbin/hotplug cannot and must not attempt to do anything with eth0!
> Generally it'll fail to find an interface with this name. If it does
> find eth0, it'll be the wrong one due to a race.
I always thought I should have to do "/sbin/ifdown eth0" here.
(Just as I do /sbin/ifup eth0 on register.)
> - I don't think we can say that the kernel hotplug interface is
> complete until we have real, working, tested userspace tools. David,
> could you please summarise the state of play here? In particular,
> what still needs to be done?
Well, for USB I would like to know which device major/minor entry a newly
plugged device is associated with.
Like if I insert a new USB camera, I want to easy find out it is char 81.1
(/dev/video1). Or if I plugin a USB storage device I want to easy find out
it is /dev/sda now.
This is currently very hard to do and it would be really nice to have
a solution for this.
Ciao, Marcus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-10 15:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-10 12:31 hotplug mopup Andrew Morton
2000-12-10 12:58 ` Jeff Garzik
2000-12-10 13:25 ` Andrew Morton
2000-12-10 15:10 ` Marcus Meissner [this message]
2000-12-11 2:36 ` Albert D. Cahalan
2000-12-11 7:04 ` Andrew Morton
2000-12-10 16:35 ` David Brownell
-- strict thread matches above, loose matches on Subject: below --
2000-12-11 21:10 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=200012101510.QAA29551@ns.caldera.de \
--to=marcus.meissner@caldera.de \
--cc=andrewm@uow.edu.au \
--cc=linux-kernel@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