* RE: IEEE 1394 SBP-2 pseudo driver
@ 2001-01-08 16:48 Dunlap, Randy
2001-01-08 18:31 ` Greg KH
2001-01-08 21:55 ` David Brownell
0 siblings, 2 replies; 3+ messages in thread
From: Dunlap, Randy @ 2001-01-08 16:48 UTC (permalink / raw)
To: linux-hotplug
> From: Mark Garlanger [mailto:garlangr@directlink.net]
>
> "Dunlap, Randy" wrote:
>
> > > From: Oliver Neukum [mailto:Oliver.Neukum@lrz.uni-muenchen.de]
> > >
> > ...
> > >
> > > USB calls a script named /sbin/hotplug for every event.
> > > The interface might be extended.
> >
> > Yes, the idea for /sbin/hotplug is to use it for any/all
> > buses that need/want to add hotplug support.
> > It began with USB but has had some updates for cardbus
> > already. And it has Linus's support (since he was in on
> > its definition).
> >
> > ~Randy
>
> Wouldn't there be a problem if /sbin was mounted
> on the device that was just unplugged?
I suppose it would be. It's not nice to unplug /sbin, is it?
(checking FHS 2.1)
Or if someone does need to unplug/replug /sbin, should there
be a mirror (or soft-link) of it?
The actual file name used for the hotplug program (script)
is stored in /proc/sys/kernel/hotplug, so changing that
during /sbin unplug/replug is also an option.
Looks to me like /sbin is a good place for it according to
FHS 2.1. FHS 2.2 is being updated now, but I don't see any
changes in it to address hotplug.
I doubt that FHS took hot unplug/plug into account.
BTW, this should probably be discussed on the new
linux-hotplug mailing list [copied there, altho its
archive is not yet happening].
~Randy
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IEEE 1394 SBP-2 pseudo driver
2001-01-08 16:48 IEEE 1394 SBP-2 pseudo driver Dunlap, Randy
@ 2001-01-08 18:31 ` Greg KH
2001-01-08 21:55 ` David Brownell
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2001-01-08 18:31 UTC (permalink / raw)
To: linux-hotplug
On Mon, Jan 08, 2001 at 08:48:45AM -0800, Dunlap, Randy wrote:
>
> BTW, this should probably be discussed on the new
> linux-hotplug mailing list [copied there, altho its
> archive is not yet happening].
There is an archive happening at
http://marc.theaimsgroup.com/?l=linux-hotplug-devel&r=1&w=2
which seems to be much more responsive and easier to use than the
default SourceForge ones.
greg k-h
--
greg@(kroah|wirex).com
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IEEE 1394 SBP-2 pseudo driver
2001-01-08 16:48 IEEE 1394 SBP-2 pseudo driver Dunlap, Randy
2001-01-08 18:31 ` Greg KH
@ 2001-01-08 21:55 ` David Brownell
1 sibling, 0 replies; 3+ messages in thread
From: David Brownell @ 2001-01-08 21:55 UTC (permalink / raw)
To: linux-hotplug
> > Wouldn't there be a problem if /sbin was mounted
> > on the device that was just unplugged?
>
> I suppose it would be.
I think Linus described that as a user error case ...
there are a LOT of ways you can break system startup.
For example, if "/sbin/init" or "/sbin/modprobe" went
away, similar bad things would happen.
I think Randy's got it right:
> The actual file name used for the hotplug program (script)
> is stored in /proc/sys/kernel/hotplug, so changing that
> during /sbin unplug/replug is also an option.
>
> Looks to me like /sbin is a good place for it according to
> FHS 2.1. FHS 2.2 is being updated now, but I don't see any
> changes in it to address hotplug.
> I doubt that FHS took hot unplug/plug into account.
Likely it should ... including conventions for how to extend
the basic /sbin/hotplug functionality. The convention
that's been discussed so far involves /etc/hotplug scripts;
a SCSI hotplug agent would be "/etc/hotplug/scsi.agent", and
could be updated independently from agents for USB, PCI,
and so forth.
- Dave
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-08 21:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-08 16:48 IEEE 1394 SBP-2 pseudo driver Dunlap, Randy
2001-01-08 18:31 ` Greg KH
2001-01-08 21:55 ` David Brownell
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).