Subject: Re: misc/3196 utmp.5 patch (pr#3196)
To: None <mason@primenet.com.au>
From: Luke Mewburn <lukem@connect.com.au>
List: netbsd-bugs
Date: 06/22/1997 17:57:40
Geoff Wing writes:
> This is the patch for my pr#3196
> 
> *** /usr/src/share/man/man5/utmp.5	Sat Oct 14 11:31:51 1995
> --- /usr/obj/share/man/man5/utmp.5	Sun Jun 22 17:29:12 1997
> ***************
> *** 137,146 ****
>   and appends the user's
>   .Fa utmp
>   record.
> ! The same
>   .Fa utmp
> ! record, with an updated time stamp is later appended
> ! to the file when the user logs out. (See
>   .Xr init 8 . )
>   The
>   .Nm wtmp
> --- 137,146 ----
>   and appends the user's
>   .Fa utmp
>   record.
> ! When the user logs out, a 
>   .Fa utmp
> ! record with the tty line, an updated time stamp, and zero'd name and host
> ! fields is appended to the file. (See
>   .Xr init 8 . )
>   The
>   .Nm wtmp

My reading of the source to init(8) is that
	a) the record for "line" in /var/run/utmp is updated to have a
	   cleared user and host field, and the current time.
	b) a new record is appended to /var/log/wtmp with the line,
	   a cleared user & host field, and the current time.

So, your comment is more an addition to what's there, rather than a
replacement. A rewording of both is in order. I'll do this, and commit
the result, and if it's not clear enough, then you can fix that ;)