From owner-cvs-all@FreeBSD.ORG Sun Apr 20 21:30:13 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5814037B401; Sun, 20 Apr 2003 21:30:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECA0643F3F; Sun, 20 Apr 2003 21:30:12 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3L4UC0U066104; Sun, 20 Apr 2003 21:30:12 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3L4UC6q066101; Sun, 20 Apr 2003 21:30:12 -0700 (PDT) Message-Id: <200304210430.h3L4UC6q066101@repoman.freebsd.org> From: Warner Losh Date: Sun, 20 Apr 2003 21:30:12 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/devd devd.cc X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 04:30:13 -0000 imp 2003/04/20 21:30:12 PDT FreeBSD src repository Modified files: sbin/devd devd.cc Log: Put an anti-foot-shooting measure in place. Set hw.bus.devctl_disable to 0 when we startup. Print a warning in this case. This allows people that are playing with devd by hand to have something happen. Otherwise, it appears that devd isn't working because /dev/devctl is disabled and producing no events. Suggested by: peter on irc a long time ago. Revision Changes Path 1.7 +19 -0 src/sbin/devd/devd.cc