| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: rc.conf.5,v 1.182 2020/06/24 10:30:43 jruoho Exp $ | | 1 | .\" $NetBSD: rc.conf.5,v 1.183 2020/07/15 16:46:11 jruoho Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996 Matthew R. Green | | 3 | .\" Copyright (c) 1996 Matthew R. Green |
4 | .\" All rights reserved. | | 4 | .\" 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 | .\" | | 14 | .\" |
| @@ -45,27 +45,27 @@ | | | @@ -45,27 +45,27 @@ |
45 | .\" | | 45 | .\" |
46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | | 50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | | 51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | | 52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | | 53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
56 | .\" SUCH DAMAGE. | | 56 | .\" SUCH DAMAGE. |
57 | .\" | | 57 | .\" |
58 | .Dd June 24, 2020 | | 58 | .Dd July 15, 2020 |
59 | .Dt RC.CONF 5 | | 59 | .Dt RC.CONF 5 |
60 | .Os | | 60 | .Os |
61 | .Sh NAME | | 61 | .Sh NAME |
62 | .Nm rc.conf | | 62 | .Nm rc.conf |
63 | .Nd system startup configuration file | | 63 | .Nd system startup configuration file |
64 | .Sh DESCRIPTION | | 64 | .Sh DESCRIPTION |
65 | The | | 65 | The |
66 | .Nm | | 66 | .Nm |
67 | file specifies which services are enabled during system startup by | | 67 | file specifies which services are enabled during system startup by |
68 | the startup scripts invoked by | | 68 | the startup scripts invoked by |
69 | .Pa /etc/rc | | 69 | .Pa /etc/rc |
70 | (see | | 70 | (see |
71 | .Xr rc 8 ) , | | 71 | .Xr rc 8 ) , |
| @@ -328,26 +328,30 @@ A file system is checked with | | | @@ -328,26 +328,30 @@ A file system is checked with |
328 | during boot before mounting it. | | 328 | during boot before mounting it. |
329 | This option may be used to override the default command-line options | | 329 | This option may be used to override the default command-line options |
330 | passed to the | | 330 | passed to the |
331 | .Xr fsck 8 | | 331 | .Xr fsck 8 |
332 | program. | | 332 | program. |
333 | .Pp | | 333 | .Pp |
334 | When set to | | 334 | When set to |
335 | .Fl y , | | 335 | .Fl y , |
336 | .Xr fsck 8 | | 336 | .Xr fsck 8 |
337 | assumes yes as the answer to all operator questions during file system checks. | | 337 | assumes yes as the answer to all operator questions during file system checks. |
338 | This might be important with hosts where the administrator does not have | | 338 | This might be important with hosts where the administrator does not have |
339 | access to the console and an unsuccessful shutdown must not make the host | | 339 | access to the console and an unsuccessful shutdown must not make the host |
340 | unbootable even if the file system checks would fail in preen mode. | | 340 | unbootable even if the file system checks would fail in preen mode. |
| | | 341 | .It Sy modules |
| | | 342 | Boolean value. |
| | | 343 | If true, loads the modules specified in |
| | | 344 | .Xr modules.conf 5 . |
341 | .It Sy no_swap | | 345 | .It Sy no_swap |
342 | Boolean value. | | 346 | Boolean value. |
343 | Should be true if you have deliberately configured your system with no swap. | | 347 | Should be true if you have deliberately configured your system with no swap. |
344 | If false and no swap devices are configured, the system will warn you. | | 348 | If false and no swap devices are configured, the system will warn you. |
345 | .It Sy resize_root | | 349 | .It Sy resize_root |
346 | Boolean value. | | 350 | Boolean value. |
347 | Set to true to have the system resize the root file system to fill its | | 351 | Set to true to have the system resize the root file system to fill its |
348 | partition. | | 352 | partition. |
349 | Will only attempt to resize the root file system if it is of type ffs and does | | 353 | Will only attempt to resize the root file system if it is of type ffs and does |
350 | not have logging enabled. | | 354 | not have logging enabled. |
351 | Defaults to false. | | 355 | Defaults to false. |
352 | .It Sy swapoff | | 356 | .It Sy swapoff |
353 | Boolean value. | | 357 | Boolean value. |