diff options
author | mpp <mpp@FreeBSD.org> | 1996-12-14 21:53:14 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-12-14 21:53:14 +0000 |
commit | edd4976ccdf99fe3bd1b3e5bc58eac61c1bd77e4 (patch) | |
tree | 8b5c03ccdf77936a4f5ca045da6fd254dca9a92c | |
parent | 3b94b1ad7fd9c708f78a7548030a528bfc88ab69 (diff) | |
download | FreeBSD-src-edd4976ccdf99fe3bd1b3e5bc58eac61c1bd77e4.zip FreeBSD-src-edd4976ccdf99fe3bd1b3e5bc58eac61c1bd77e4.tar.gz |
Forgot to document "hostname". Also add some other misc stuff.
-rw-r--r-- | share/man/man5/kernfs.5 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man5/kernfs.5 b/share/man/man5/kernfs.5 index cff7ea1..8cddc33 100644 --- a/share/man/man5/kernfs.5 +++ b/share/man/man5/kernfs.5 @@ -44,7 +44,13 @@ The kernel file system, or provides access to information on the currently running kernel. It is normally mounted on .Pa /kern . -The mount point contains several files: +The file system includes several regular file which can be +read, and some of which can also be written. +The contents of the files in in a machine-independent format, +either a string, or and integer in decial ASCII. A trailing +newline character is added when a number is returned. +.Pp +The mount point contains the following files: .Bl -tag -width copyright .It Pa bootfile The path from which the current kernel was booted. @@ -52,6 +58,11 @@ The path from which the current kernel was booted. The time at which the system was last booted (decimal ASCII). .It Pa copyright The kernel copyright message. +.It Pa hostname +The current hostname, with a trailing newline. The +current hostname can be changed by writing to this file. +A trailing newline will be stripped from the hostname being +wirtten. .It Pa hz The frequency of the system clock (decimal ASCII). .It Pa loadavg @@ -111,4 +122,4 @@ manual page first appeared in This manual page was written by Mike Pritchard <mpp@FreeBSD.org>, and was adapted from the .Xr mount_kernfs 8 -manual page. +manual page written by Jan-Simon Pendry. |