From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 18:26:10 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 9E30016A4BF for ; Fri, 12 Sep 2003 18:26:10 -0700 (PDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9844043FDF for ; Fri, 12 Sep 2003 18:26:09 -0700 (PDT) (envelope-from refugee@vt.edu) Received: from dagger.cc.vt.edu (IDENT:mirapoint@evil-dagger [10.1.1.11]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h8D1Q9TI513810 for ; Fri, 12 Sep 2003 21:26:09 -0400 (EDT) Received: from zZzZ (hc6524a8b.dhcp.vt.edu [198.82.74.139]) by dagger.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.6-GR) with SMTP id BXA15485; Fri, 12 Sep 2003 21:26:08 -0400 (EDT) Date: Fri, 12 Sep 2003 21:26:06 -0400 From: Suleiman Souhlal To: freebsd-current@freebsd.org Message-Id: <20030912212606.3d04f3ed.refugee@vt.edu> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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 01:26:10 -0000 Hello all, 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. It would be a pretty cool thing to have, especially on laptops, but I don't really know how complex something like this would be to implement. -Suleiman Souhlal