Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 03:03:26 +0400
From:      Alex Semenyaka <alex@semenyaka.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: Welcome to the "freebsd-stable" mailing list
Message-ID:  <20040518230326.GA5900@qqmore.rinet.ru>

next in thread | raw e-mail | index | archive | help
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
<g> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518230326.GA5900>