Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 1996 21:11:26 +0300 (MSK)
From:      =?KOI8-R?Q?Andrey_Chernov=2C_=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= <ache@nagual.ru>
To:        Peter Wemm <peter@spinner.dialix.com>
Cc:        "Jordan K. Hubbard" <jkh@freefall.freebsd.org>, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-include@freefall.freebsd.org
Subject:   Re: cvs commit: src/include utmp.h 
Message-ID:  <Pine.BSF.3.95.961205210444.222A-100000@nagual.ru>
In-Reply-To: <199612051458.WAA08975@spinner.DIALix.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Dec 1996, Peter Wemm wrote:

> "Andrey A. Chernov" wrote:
> > > jkh         96/12/04 03:30:17
> > > 
> > >   Modified:    include   utmp.h
> > >   Log:
> > >   Bump maximum username length to 16 characters.  This brings us into
> > >   line with BSD/OS and Linux's username limits, making transitioning from
> > >   either operating system a lot easier than it is now.  I'm currently
> > >   running with this change on my system, as are several others, and have
> > >   experienced no ill effects.
> > 
> > I hear BSDI increase UT_HOSTSIZE to 32, do we plan to make similar change?
> > (I don't have BSDI box to be shure)
> 
> Yes, BSDI have gone to user=16,line=8,host=32.
> 
> I would very much like this as well, but I'd also like to suggest we pluck
> a leaf from the SunOS/SYSV/Linux book and take a couple of extra fields
> as well.

We already change UT_NAMESIZE, lets change UT_HOSTSIZE in the same round
:-)
Usually bigger UT_HOSTSIZE gives much better statistics, because too many
of hosts now exceedes 16 char limit. 

>   ut_hostid (normally an in_addr type of entry so that we can always find the
> 	   originating host without having to bogusly interpret or convert
> 	   ut_host to/from hostnames and dotted-quad IP addresses.)

Yes, it will be nice to have. Many systems already have it.

>   ut_host (increased to pad out the record size to a convenient power of 2)

IMHO even 32 isn't enough now, we need at least 64

> I don't see a mirror image of the BSDI file format as particularly
> important, in all my travels, I've never seen an application (read:
> non-system) binary that uses the utmp file, except on my SVR3 days.

I agree.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961205210444.222A-100000>