Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 1996 08:16:00 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        "Gary Palmer" <gpalmer@freebsd.org>
Cc:        "Marc G. Fournier" <scrappy@freefall.freebsd.org>, hsu@clinet.fi, freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/958 
Message-ID:  <199610230016.IAA17486@spinner.DIALix.COM>
In-Reply-To: Your message of "Tue, 22 Oct 1996 19:46:27 -0400." <10915.846027987@orion.webspan.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Gary Palmer" wrote:
> "Marc G. Fournier" wrote in message ID
> <199610220847.BAA12986@freefall.freebsd.org>:
> > MAKEDEV should in this case add the /etc/ttys entries or /etc/ttys should
> > contain all possible ttys.  This would save trouble when installing more
> > ttys and reduce noise on freebsd-questions as newbies ask why their logins
> > do not shop up in w.  Minimum might be adding MAKEDEV echo line which would
> > tell the user "Remember to add new tty devices to /etc/ttys" ?
> 
> Actually, that is a bit short-sighted in a way, considering that
> MAKEDEV will be going away when devfs is rolled out. We need some way
> to handle x number of ptys transparently. Probably just default them
> to be `network insecure' or somesuch if not found in /etc/ttys.

Yes, but... one of the main functions of /etc/ttys is to reserve a slot 
and the ordering for the tty in the utmp file.  We either need to keep 
/etc/ttys in it's current form (ie: complete listing of all possible 
pty's), or go to a sysv model where there is a tty id in the utmp file, so 
anything can be put in there.  Then, the /etc/ttys file can get cut back 
or replaced.  (I'd certainly prefer a sysv-style inittab, but I can 
certainly understand that others will not, so I won't push it.)

There seems to be rumblings about changing the utmp file format to allow 
for longer user names, longer hostnames, IP addresses, etc.  If it's going 
to change, this is probably something else that should be fixed at the 
same time.

Cheers,
-Peter





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