1 .\" $NetBSD: mount_kernfs.8,v 1.15 2004/11/21 09:09:46 jmmv Exp $
3 .\" Copyright (c) 1992, 1993, 1994
4 .\" The Regents of the University of California. All rights reserved.
5 .\" All rights reserved.
7 .\" This code is derived from software donated to Berkeley by
10 .\" Redistribution and use in source and binary forms, with or without
11 .\" modification, are permitted provided that the following conditions
13 .\" 1. Redistributions of source code must retain the above copyright
14 .\" notice, this list of conditions and the following disclaimer.
15 .\" 2. Redistributions in binary form must reproduce the above copyright
16 .\" notice, this list of conditions and the following disclaimer in the
17 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" @(#)mount_kernfs.8 8.2 (Berkeley) 3/27/94
41 .Nd mount the /kern file system
50 command attaches an instance of the kernel parameter
51 namespace to the global filesystem namespace.
52 The conventional mount point is
54 The directory specified by
56 is converted to an absolute path before use.
57 This command is normally executed by
61 The filesystem includes several regular files which can be read,
62 some of which can also be written.
63 The contents of the files is in a machine-independent format,
64 either a string, or an integer in decimal ASCII.
65 Where numbers are returned, a trailing newline character is also added.
67 The options are as follows:
68 .Bl -tag -width indent
70 Options are specified with a
72 flag followed by a comma separated string of options.
75 man page for possible options and their meanings.
78 .Bl -tag -width copyright -compact
80 the time at which the system was last booted (decimal ASCII).
82 kernel copyright message.
84 the hostname, with a trailing newline.
85 The hostname can be changed by writing to this file.
86 A trailing newline will be stripped from the hostname being written.
88 the frequency of the system clock (decimal ASCII).
90 the directory that contains IPsec security associations (SA) in
93 Filenames are SPI in decimal number.
94 The content of files can be inspected by using
97 the directory that contains IPsec security policies in
100 Filenames are security policy ID in decimal number.
101 The content of files can be inspected by using
104 the 1, 5 and 15 minute load average in kernel fixed-point format.
105 The final integer is the fix-point scaling factor.
106 All numbers are in decimal ASCII.
108 the kernel message buffer, also read by
115 the machine pagesize (decimal ASCII).
117 the number of pages of physical memory in the machine (decimal ASCII).
119 .\" the system root directory.
120 .\" In a chroot'ed environment,
122 .\" can be used to create a new
126 .\" will then refer to the system global root, not the current process root.
132 the second and microsecond value of the system clock.
133 Both numbers are in decimal ASCII.
135 the kernel version string.
138 can be generated by running:
139 .Dq Ic "sed 1q /kern/version"
153 utility first appeared in
156 This filesystem may not be NFS-exported.
159 version does not support IPsec-related files/directories.