From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 26 Feb 2001 22:08:13 +0000 Subject: Re: OT(?) -- Should the net.agent script cause "ifup lo" to be run? 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 > It would be nice to be able to determine whether an interface > is created because someone manually loaded the module or whether > kmod loaded it, but I'm not sure how that would be instrumented. One thing I'm saying is that such things shouldn't matter. Intent shouldn't be asked; reliable program systems rarely have "if (CameFrom (...)) ..." logic. What should get tested is something explicit, such as the interface state: is it already "up", is there a carrier, does it even need a carrier, and so on. I don't know that all the right information is available ... unless you apply heuristics based on device names. (Such heuristics seem to be the only solution for now.) > > In the 2.5 > > kernels it might be good to make all network interfaces > > fit into a common initialization model. > > I think you're fundamentally misunderstanding how PPP works; for I think you're misunderstanding what I'm saying. But since network interface operation can't change for 2.4, and I think that's what you're focussed on, I won't try to clarify. - Dave _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel