From owner-freebsd-questions@FreeBSD.ORG Fri Jul 20 11:51:40 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 218CB16A418 for ; Fri, 20 Jul 2007 11:51:40 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E511113C469 for ; Fri, 20 Jul 2007 11:51:39 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 12636 invoked from network); 20 Jul 2007 06:51:39 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Jul 2007 06:51:38 -0500 Date: Fri, 20 Jul 2007 21:51:33 +1000 From: Norberto Meijome To: Message-ID: <20070720215133.34be4b71@localhost> In-Reply-To: <20070720111623.82AEB84419@stasis01.lerkins.com> References: <20070720072855.134EF84419@stasis01.lerkins.com> <20070720204146.0ef7c20d@localhost> <20070720111623.82AEB84419@stasis01.lerkins.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 20 Jul 2007 11:54:32 +0000 Subject: Re: Possible devd bug X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 11:51:40 -0000 On Fri, 20 Jul 2007 13:16:23 +0200 (CEST) Bart=C5=82omiej Rutkowski wrote: > From: Bart=C5=82omiej Rutkowski > To: Norberto Meijome > Subject: Re: Possible devd bug > Date: Fri, 20 Jul 2007 13:16:23 +0200 (CEST) > X-Mailer: Sylpheed 2.4.0 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Please keep the list in CC. > Well, I can confirm right now, that devd does not trigger, when you put e= th interface into > DOWN state by "#ifconfig ifnameX down". Now, is that intentional behaviou= r or a bug?=20 well..i never expected devd to trigger a LINK_DOWN or UP event when one iss= ues an ifconfig down. The meanings are different - link up or down means the physical layer, ifconfig [nic] up/down means 'enable the card in the OS' or= , as the man page puts it : [...] down Mark an interface ``down''. When an interface is marked ``down'', the system will not attempt to transmit messages through that interface. If possible, the interface will be re= set to disable reception as well. . [...] up Mark an interface ``up''. This may be used to enable an inter- face after an ``ifconfig down''. =20 [...] --- you can have a card up or down, with or not link - they are independent. Ei= ther link or interface down means you cannot transmit via it, but for different reasons. > This=20 > makes those LINK_UP devd triggers totally unusable. no, it makes them perfectly usable for the intended objectives of devd :) B _________________________ {Beto|Norberto|Numard} Meijome Lack of planning on your part does not constitute an emergency on ours. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.