Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 1996 22:58:26 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        "Andrey A. Chernov" <ache@freefall.freebsd.org>
Cc:        jkh@freefall.freebsd.org (Jordan K. Hubbard), 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:  <199612051458.WAA08975@spinner.DIALix.COM>
In-Reply-To: Your message of "Thu, 05 Dec 1996 06:34:26 PST." <199612051434.GAA10379@freefall.freebsd.org> 

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

I would like to see:
  ut_pid  (pid of session.  This is painful to work around not having!)
  ut_type (some sort of type-of-record code to replace the "magic" characters
	   in some of the username or tty fields.)
  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.)
  ut_host (increased to pad out the record size to a convenient power of 2)

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 think Garrett expressed a desire to have a 'version' field somewhere.

Cheers,
-Peter



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