From owner-cvs-src@FreeBSD.ORG Sun Apr 20 23:26:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D636837B401; Sun, 20 Apr 2003 23:26:08 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 891F743F85; Sun, 20 Apr 2003 23:26:08 -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 h3L6Q80U050928; Sun, 20 Apr 2003 23:26:08 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3L6Q8mn050924; Sun, 20 Apr 2003 23:26:08 -0700 (PDT) Message-Id: <200304210626.h3L6Q8mn050924@repoman.freebsd.org> From: Warner Losh Date: Sun, 20 Apr 2003 23:26:08 -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.8 devd.cc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 06:26:09 -0000 imp 2003/04/20 23:26:08 PDT FreeBSD src repository Modified files: sbin/devd devd.8 devd.cc Log: Implement a two new flags, and change the meaning of another one. 'd': now means don't do daemon(). 'D': Debug 'n': Don't wait to process all pending events before calling daemon. In the past, devd would call daemon immediately. However, this causes a race. If anything in the boot process depends on configuring the devices configured by devd, maybe they would be configured in time, maybe not. Now we don't call daemon until all pending events are processed, unless -n is specified. # -n is actually the default for a while due to the select(2) bug in devctl # that I just fixed to give people a chance to upgrade. Revision Changes Path 1.8 +7 -3 src/sbin/devd/devd.8 1.8 +38 -11 src/sbin/devd/devd.cc