| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: sysctl.7,v 1.164 2023/05/29 23:30:47 gutteridge Exp $ | | 1 | .\" $NetBSD: sysctl.7,v 1.165 2023/06/18 18:16:40 riastradh Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1993 | | 3 | .\" Copyright (c) 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. 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. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -132,33 +132,44 @@ See | | | @@ -132,33 +132,44 @@ See |
132 | for more information. | | 132 | for more information. |
133 | .Ss The vfs.* subtree | | 133 | .Ss The vfs.* subtree |
134 | A distinguished second level name, | | 134 | A distinguished second level name, |
135 | .Li vfs.generic ( Dv VFS_GENERIC ) , | | 135 | .Li vfs.generic ( Dv VFS_GENERIC ) , |
136 | is used to get general information about all file systems. | | 136 | is used to get general information about all file systems. |
137 | It has the following third level identifiers: | | 137 | It has the following third level identifiers: |
138 | .Bl -tag -width "123456" | | 138 | .Bl -tag -width "123456" |
139 | .It Li vfs.generic.maxtypenum ( Dv VFS_MAXTYPENUM ) | | 139 | .It Li vfs.generic.maxtypenum ( Dv VFS_MAXTYPENUM ) |
140 | The highest valid file system type number. | | 140 | The highest valid file system type number. |
141 | .It Li vfs.generic.conf ( Dv VFS_CONF ) | | 141 | .It Li vfs.generic.conf ( Dv VFS_CONF ) |
142 | Returns configuration information about the file system type given as a fourth | | 142 | Returns configuration information about the file system type given as a fourth |
143 | level identifier. | | 143 | level identifier. |
144 | .It Li vfs.generic.usermount ( Dv VFS_USERMOUNT ) | | 144 | .It Li vfs.generic.usermount ( Dv VFS_USERMOUNT ) |
145 | Determines if non superuser mounts are allowed, defaults to | | 145 | Controls whether users other than the super-user can mount file |
146 | .Dv 0 . | | 146 | systems. |
| | | 147 | Defaults to |
| | | 148 | .Li 0 , |
| | | 149 | so only the super-user can mount file systems. |
| | | 150 | .Pp |
| | | 151 | File systems mounted by unprivileged users must be mounted with the |
| | | 152 | .Li nodev |
| | | 153 | and |
| | | 154 | .Li nosuid |
| | | 155 | .Xr mount 8 |
| | | 156 | options. |
147 | .It Li vfs.generic.magiclinks ( Dv VFS_MAGICLINKS ) | | 157 | .It Li vfs.generic.magiclinks ( Dv VFS_MAGICLINKS ) |
148 | Controls if expansion of variables is going to be performed on pathnames | | 158 | Controls whether expansion of variables is going to be performed on |
149 | or not. | | 159 | pathnames or not. |
150 | Defaults to no variable expansion, | | 160 | Defaults to |
151 | .Dv 0 . | | 161 | .Li 0 , |
| | | 162 | no variable expansion. |
152 | Variables are of the form | | 163 | Variables are of the form |
153 | .Li @name | | 164 | .Li @name |
154 | and the variables supported are described in | | 165 | and the variables supported are described in |
155 | .Xr symlink 7 | | 166 | .Xr symlink 7 |
156 | under | | 167 | under |
157 | .Dq "MAGIC SYMLINKS" . | | 168 | .Dq "MAGIC SYMLINKS" . |
158 | .El | | 169 | .El |
159 | .Pp | | 170 | .Pp |
160 | A second level name for controlling the | | 171 | A second level name for controlling the |
161 | .Xr wapbl 4 | | 172 | .Xr wapbl 4 |
162 | (Write Ahead Physical Block Logging file system journaling) | | 173 | (Write Ahead Physical Block Logging file system journaling) |
163 | capabilities with the following third level identifiers: | | 174 | capabilities with the following third level identifiers: |
164 | .Bl -tag -width "123456" | | 175 | .Bl -tag -width "123456" |