From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 23:34:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8B8B16A4BF for ; Fri, 12 Sep 2003 23:34:04 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4D4143FEC for ; Fri, 12 Sep 2003 23:34:03 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h8D6Y1TX049140; Sat, 13 Sep 2003 00:34:02 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 13 Sep 2003 00:33:50 -0600 (MDT) Message-Id: <20030913.003350.98343503.imp@bsdimp.com> To: refugee@vt.edu From: "M. Warner Losh" In-Reply-To: <20030912212606.3d04f3ed.refugee@vt.edu> References: <20030912212606.3d04f3ed.refugee@vt.edu> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: devd/devctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 06:34:05 -0000 In message: <20030912212606.3d04f3ed.refugee@vt.edu> Suleiman Souhlal writes: : I was wondering if it would be a good idea to modify devd and : devctl for them to handle other events than attaching and detaching : devices.. For example, they could be used to mark a network : interface as down, when the network cable is pulled out, and run : dhclient when it is put back in. I think there are other : applications too. Yes. that has been the plan for some time now. However, dhclient is really lame in a lot of ways. Martin Blapp has made it a lot better of lates. In geral, I tend to believe that I shouldn't fix bugs in dhclient with devd things. However, a more general trend to more event types would be good because a device arriving isn't quite the same as a network interface arriving... Warner