Mention utmpx/wtmpx as well as utmp/wtmp. Suggested by the patches in

PR bin/36551 by Greg A. Woods. Also, while I'm here, fix a miscapitalized
word.
This commit is contained in:
dholland 2008-02-09 04:50:57 +00:00
parent 322ddd589b
commit 2069154485
1 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: init.8,v 1.51 2007/12/15 21:44:15 snj Exp $
.\" $NetBSD: init.8,v 1.52 2008/02/09 04:50:57 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -32,7 +32,7 @@
.\"
.\" @(#)init.8 8.6 (Berkeley) 5/26/95
.\"
.Dd December 15, 2007
.Dd February 8, 2008
.Dt INIT 8
.Os
.Sh NAME
@ -187,9 +187,13 @@ abnormal termination occurred (a signal), the
.Nm
program wakes up, deletes the user from the
.Xr utmp 5
file of current users and records the logout in the
and
.Xr utmpx 5
files of current users and records the logout in the
.Xr wtmp 5
file.
and
.Xr wtmpx 5
files.
The cycle is
then restarted by
.Nm
@ -297,15 +301,15 @@ to create a memory file system mounted over
.Pa /dev
that contains the standard devices considered necessary to boot the system.
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
.Bl -tag -width /var/log/wtmp{,x} -compact
.It Pa /dev/console
System console device.
.It Pa /dev/tty*
Terminal ports found in
.Xr ttys 5 .
.It Pa /var/run/utmp
Record of Current users on the system.
.It Pa /var/log/wtmp
.It Pa /var/run/utmp{,x}
Record of current users on the system.
.It Pa /var/log/wtmp{,x}
Record of all logins and logouts.
.It Pa /etc/ttys
The terminal initialization information file.