From owner-freebsd-stable@FreeBSD.ORG Tue May 18 17:49:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EEDF16A4CE for ; Tue, 18 May 2004 17:49:53 -0700 (PDT) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400E143D48 for ; Tue, 18 May 2004 17:49:50 -0700 (PDT) (envelope-from flist@qqmore.rinet.ru) Received: from relay.rinet.ru (localhost [127.0.0.1]) by relay.rinet.ru (8.12.9p2/8.12.9) with ESMTP id i4IN3ceo037521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 19 May 2004 03:03:38 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: (from uucp@localhost) by relay.rinet.ru (8.12.9p2/8.12.9/Submit) with UUCP id i4IN3cdW037520 for freebsd-stable@freebsd.org; Wed, 19 May 2004 03:03:38 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: from qqmore.rinet.ru. (localhost.rinet.ru [127.0.0.1]) by qqmore.rinet.ru. (8.12.11/8.12.11) with ESMTP id i4IN3RjB006218 for ; Wed, 19 May 2004 03:03:28 +0400 (MSD) (envelope-from flist@qqmore.rinet.ru) Received: (from flist@localhost) by qqmore.rinet.ru. (8.12.11/8.12.11/Submit) id i4IN3RIG006217 for freebsd-stable@freebsd.org; Wed, 19 May 2004 03:03:27 +0400 (MSD) (envelope-from flist) Date: Wed, 19 May 2004 03:03:26 +0400 From: Alex Semenyaka To: freebsd-stable@freebsd.org Message-ID: <20040518230326.GA5900@qqmore.rinet.ru> Mail-Followup-To: Alex Semenyaka , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.6i Subject: Re: Welcome to the "freebsd-stable" mailing list X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 00:49:53 -0000 To whom it may concern, could somebody review my PR/66791? I made it after the questions in freebsd= -net@ and newsgroup fido7.ru.unix.bsd from Alexander Lunyov. Actually the problem= is that the file dev.db needs to be rebuilt more frequently than just during t= he startup (from /etc/rc). The changes in the /dev are making through the MAKEDEV. This is the standard de facto which is using by the thrird-party developers (what I've seen seve= ral times were patches to MAKEDEV and only then recomendation for _advanced_ us= ers how to do the same manually with mknod). Unfortunatelly sometimes happe= ns that people first rebbot the machine and _then_ run MAKEDEV. With some small probability the dev.db then remains in the wrong state and thus devname() a= nd ttyname() start returning wrong values. The simplest way to reduce the probability of this trouble is to rebuid dev= =2Edb =66rom MAKEDEV, and that what I am proposing in that PR. Also would be nice= to add the reference to dev_mkdb(8) at the end of MAKEDEV(8). -- Sincerely, Alex Semenyaka