| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: options.4,v 1.517 2020/10/09 01:49:53 gutteridge Exp $ | | 1 | .\" $NetBSD: options.4,v 1.518 2021/03/14 02:56:07 rin Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996 | | 3 | .\" Copyright (c) 1996 |
4 | .\" Perry E. Metzger. All rights reserved. | | 4 | .\" Perry E. Metzger. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. All advertising materials mentioning features or use of this software | | 14 | .\" 3. All advertising materials mentioning features or use of this software |
| @@ -20,27 +20,27 @@ | | | @@ -20,27 +20,27 @@ |
20 | .\" | | 20 | .\" |
21 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 21 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
22 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 22 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
23 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 23 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
24 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 24 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
25 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | | 25 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
26 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | | 26 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
27 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | | 27 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
28 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | 28 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
29 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | 29 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
30 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 30 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
31 | .\" | | 31 | .\" |
32 | .\" | | 32 | .\" |
33 | .Dd October 9, 2020 | | 33 | .Dd March 14, 2021 |
34 | .Dt OPTIONS 4 | | 34 | .Dt OPTIONS 4 |
35 | .Os | | 35 | .Os |
36 | .Sh NAME | | 36 | .Sh NAME |
37 | .Nm options | | 37 | .Nm options |
38 | .Nd Miscellaneous kernel configuration options | | 38 | .Nd Miscellaneous kernel configuration options |
39 | .Sh SYNOPSIS | | 39 | .Sh SYNOPSIS |
40 | .Cd cinclude ... | | 40 | .Cd cinclude ... |
41 | .Cd config ... | | 41 | .Cd config ... |
42 | .Cd [no] file-system ... | | 42 | .Cd [no] file-system ... |
43 | .Cd ident ... | | 43 | .Cd ident ... |
44 | .Cd include ... | | 44 | .Cd include ... |
45 | .Cd [no] makeoptions ... | | 45 | .Cd [no] makeoptions ... |
46 | .Cd maxusers ... | | 46 | .Cd maxusers ... |
| @@ -1184,28 +1184,28 @@ for details. | | | @@ -1184,28 +1184,28 @@ for details. |
1184 | Set the initial NFS read and write sizes for diskless-boot requests. | | 1184 | Set the initial NFS read and write sizes for diskless-boot requests. |
1185 | The normal default is 8Kbytes. | | 1185 | The normal default is 8Kbytes. |
1186 | This option provides a way to lower the value (e.g., to 1024 bytes) | | 1186 | This option provides a way to lower the value (e.g., to 1024 bytes) |
1187 | as a workaround for buggy network interface cards or boot PROMs. | | 1187 | as a workaround for buggy network interface cards or boot PROMs. |
1188 | Once booted, the read and write request sizes can be increased by | | 1188 | Once booted, the read and write request sizes can be increased by |
1189 | remounting the file system. | | 1189 | remounting the file system. |
1190 | See | | 1190 | See |
1191 | .Xr mount_nfs 8 | | 1191 | .Xr mount_nfs 8 |
1192 | for details. | | 1192 | for details. |
1193 | .It Cd options NFS_V2_ONLY | | 1193 | .It Cd options NFS_V2_ONLY |
1194 | Reduce the size of the NFS client code by omitting code that's only required | | 1194 | Reduce the size of the NFS client code by omitting code that's only required |
1195 | for NFSv3 and NQNFS support, leaving only that code required to use NFSv2 | | 1195 | for NFSv3 and NQNFS support, leaving only that code required to use NFSv2 |
1196 | servers. | | 1196 | servers. |
1197 | .It Cd options NFS_BOOT_TCP | | 1197 | .It Cd options NFS_BOOT_UDP |
1198 | Use NFS over TCP instead of the default UDP, for mounting root. | | 1198 | Use NFS over UDP instead of the default TCP, for mounting root. |
1199 | .El | | 1199 | .El |
1200 | .Ss Buffer queue strategy options | | 1200 | .Ss Buffer queue strategy options |
1201 | The following options enable alternative buffer queue strategies. | | 1201 | The following options enable alternative buffer queue strategies. |
1202 | .Bl -ohang | | 1202 | .Bl -ohang |
1203 | .It Cd options BUFQ_READPRIO | | 1203 | .It Cd options BUFQ_READPRIO |
1204 | Enable alternate buffer queue strategy for disk I/O. | | 1204 | Enable alternate buffer queue strategy for disk I/O. |
1205 | In the default strategy, outstanding disk requests are ordered by | | 1205 | In the default strategy, outstanding disk requests are ordered by |
1206 | sector number and sent to the disk, regardless of whether the | | 1206 | sector number and sent to the disk, regardless of whether the |
1207 | operation is a read or write; this option gives priority to issuing | | 1207 | operation is a read or write; this option gives priority to issuing |
1208 | read requests over write requests. | | 1208 | read requests over write requests. |
1209 | Although requests may therefore be issued out of sector-order, causing | | 1209 | Although requests may therefore be issued out of sector-order, causing |
1210 | more seeks and thus lower overall throughput, interactive system | | 1210 | more seeks and thus lower overall throughput, interactive system |
1211 | responsiveness under heavy disk I/O load may be improved, as processes | | 1211 | responsiveness under heavy disk I/O load may be improved, as processes |