Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 02:34:12 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern tty.c
Message-ID:  <20000501023412.A44132@freebsd.org>
In-Reply-To: <Pine.BSF.4.21.0005010354410.2953-100000@alphplex.bde.org>; from bde@zeta.org.au on Mon, May 01, 2000 at 04:11:56AM %2B1000
References:  <200004301600.JAA18945@freefall.freebsd.org> <Pine.BSF.4.21.0005010354410.2953-100000@alphplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 01, 2000 at 04:11:56AM +1000, Bruce Evans wrote:
> Sysctls shouldn't be used in device drivers.  Here the default should only
> be used if the timeout has not already been set.  Changing the default
> using sysctl will have little or no effect effect after the system has
> warmed up, since most or all ttys will have had their timeouts set.

As I say it partially works when sysctl used in rc.sysctl and works for newly 
opened ptys too. But there is some devices exists which are opened before
rc.sysctl (like system console). What about compile-time kernel configuration 
option?

-- 
Andrey A. Chernov
<ache@nagual.pp.ru>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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