Date: Fri, 20 Jul 2007 21:51:33 +1000 From: Norberto Meijome <freebsd@meijome.net> Subject: Re: Possible devd bug 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jul 2007 13:16:23 +0200 (CEST) Bart=C5=82omiej Rutkowski <brutkowski@lerkins.com> wrote: > From: Bart=C5=82omiej Rutkowski <brutkowski@lerkins.com> > To: Norberto Meijome <freebsd@meijome.net> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070720215133.34be4b71>