| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: newfs_ext2fs.8,v 1.12 2017/07/03 21:33:42 wiz Exp $ | | 1 | .\" $NetBSD: newfs_ext2fs.8,v 1.13 2019/03/06 05:11:13 mrg Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1983, 1987, 1991, 1993, 1994 | | 3 | .\" Copyright (c) 1983, 1987, 1991, 1993, 1994 |
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 |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 | | 30 | .\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 |
31 | .\" | | 31 | .\" |
32 | .Dd March 1, 2009 | | 32 | .Dd March 5, 2019 |
33 | .Dt NEWFS_EXT2FS 8 | | 33 | .Dt NEWFS_EXT2FS 8 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm newfs_ext2fs | | 36 | .Nm newfs_ext2fs |
37 | .Nd construct a new ext2 file system | | 37 | .Nd construct a new ext2 file system |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl FINZ | | 40 | .Op Fl FINZ |
41 | .Op Fl b Ar block-size | | 41 | .Op Fl b Ar block-size |
42 | .Op Fl D Ar inodesize | | 42 | .Op Fl D Ar inodesize |
43 | .Op Fl f Ar frag-size | | 43 | .Op Fl f Ar frag-size |
44 | .Op Fl i Ar bytes-per-inode | | 44 | .Op Fl i Ar bytes-per-inode |
45 | .Op Fl m Ar free-space | | 45 | .Op Fl m Ar free-space |
| @@ -130,30 +130,30 @@ and | | | @@ -130,30 +130,30 @@ and |
130 | .Fl n | | 130 | .Fl n |
131 | are specified then | | 131 | are specified then |
132 | .Fl n | | 132 | .Fl n |
133 | takes precedence. | | 133 | takes precedence. |
134 | The default number of inodes is calculated from a number of blocks in | | 134 | The default number of inodes is calculated from a number of blocks in |
135 | the file system. | | 135 | the file system. |
136 | .It Fl O Ar filesystem-format | | 136 | .It Fl O Ar filesystem-format |
137 | Select the filesystem-format. | | 137 | Select the filesystem-format. |
138 | .Bl -tag -width 3n -offset indent -compact | | 138 | .Bl -tag -width 3n -offset indent -compact |
139 | .It 0 | | 139 | .It 0 |
140 | .Ql GOOD_OLD_REV ; | | 140 | .Ql GOOD_OLD_REV ; |
141 | this option is primarily used to build root file systems that can be | | 141 | this option is primarily used to build root file systems that can be |
142 | understood by old or dumb firmwares for bootstrap. | | 142 | understood by old or dumb firmwares for bootstrap. |
143 | (default) | | | |
144 | .It 1 | | 143 | .It 1 |
145 | .Ql DYNAMIC_REV ; | | 144 | .Ql DYNAMIC_REV ; |
146 | various extended (and sometimes incompatible) features are enabled | | 145 | the default. |
| | | 146 | Various extended (and sometimes incompatible) features are enabled |
147 | (though not all features are supported on | | 147 | (though not all features are supported on |
148 | .Nx ) . | | 148 | .Nx ) . |
149 | Currently only the following features are supported: | | 149 | Currently only the following features are supported: |
150 | .Bl -tag -width "SPARSESUPER" -offset indent -compact | | 150 | .Bl -tag -width "SPARSESUPER" -offset indent -compact |
151 | .It RESIZE | | 151 | .It RESIZE |
152 | Prepare some reserved structures which enable future file system resizing. | | 152 | Prepare some reserved structures which enable future file system resizing. |
153 | .It FTYPE | | 153 | .It FTYPE |
154 | Store file types in directory entries to improve performance. | | 154 | Store file types in directory entries to improve performance. |
155 | .It SPARSESUPER | | 155 | .It SPARSESUPER |
156 | Prepare superblock backups for the | | 156 | Prepare superblock backups for the |
157 | .Xr fsck_ext2fs 8 | | 157 | .Xr fsck_ext2fs 8 |
158 | utility on not all but sparse block groups. | | 158 | utility on not all but sparse block groups. |
159 | .It LARGEFILE | | 159 | .It LARGEFILE |