mirror of https://github.com/mkerrisk/man-pages
Rmoved some crufty text; ffixes;
This commit is contained in:
parent
5018c1b4c5
commit
377dda5900
11
man5/utmp.5
11
man5/utmp.5
|
@ -56,7 +56,7 @@ around; details depend on the version of libc):
|
|||
/* Values for ut_type field, below */
|
||||
|
||||
#define EMPTY 0 /* Record does not contain valid info
|
||||
(formerly known as UT_UNKNOWN) */
|
||||
(formerly known as UT_UNKNOWN on Linux) */
|
||||
#define RUN_LVL 1 /* Change in system run-level (see
|
||||
\fBinit\fP(8) */
|
||||
#define BOOT_TIME 2 /* Time of system booy (in \fIut_tv\fP) */
|
||||
|
@ -246,12 +246,14 @@ structure.
|
|||
.SS Comparison with Historical Systems
|
||||
Linux utmp entries conform neither to v7/BSD nor to System V; they are a
|
||||
mix of the two.
|
||||
|
||||
v7/BSD has fewer fields; most importantly it lacks
|
||||
\fIut_type\fP, which causes native v7/BSD-like programs to display (for
|
||||
example) dead or login entries.
|
||||
Further, there is no configuration file
|
||||
which allocates slots to sessions.
|
||||
BSD does so because it lacks \fIut_id\fP fields.
|
||||
|
||||
In Linux (as in System V), the \fIut_id\fP field of a
|
||||
record will never change once it has been set, which reserves that slot
|
||||
without needing a configuration file.
|
||||
|
@ -264,10 +266,9 @@ but makes it possible to run
|
|||
many programs which assume BSD semantics and which do not modify utmp.
|
||||
Linux uses the BSD conventions for line contents, as documented above.
|
||||
.PP
|
||||
System V only uses the type field to mark them and logs informative messages
|
||||
such as \fB"new time"\fP in the line field.
|
||||
\fBUT_UNKNOWN\fP seems
|
||||
to be a Linux invention.
|
||||
.\" mtk: What is the referrent of "them" in the following sentence?
|
||||
.\" System V only uses the type field to mark them and logs
|
||||
.\" informative messages such as \fB"new time"\fP in the line field.
|
||||
System V has no \fIut_host\fP or \fIut_addr_v6\fP fields.
|
||||
.SH NOTES
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue