From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 08 Jan 2001 21:55:53 +0000 Subject: Re: IEEE 1394 SBP-2 pseudo driver 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 > > 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