From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Fri, 21 Nov 2008 19:27:34 +0000 Subject: Re: Are there events when eth carrier changes state? Message-Id: List-Id: References: <1227291864l.18799l.3l@mofo> In-Reply-To: <1227291864l.18799l.3l@mofo> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Nov 21, 2008 at 19:24, Karl O. Pinc wrote: > I see that eth0 has a ATTR{carrier}. > Are there any events that could be used > to trigger RUN rules when that changes? No, there are no events for network interface state changes. Network interface events have their own netlink NETLINK_ROUTE socket to listen to events. NetworkManager does all link handling on the desktop. Tiny custom setups can use stuff like ifplugd to hook into these events. Kay