Changeset View
Changeset View
Standalone View
Standalone View
sbin/newfs/newfs.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 | .\" @(#)newfs.8 8.6 (Berkeley) 5/3/95 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 7, 2021 | .Dd April 17, 2021 | ||||
.Dt NEWFS 8 | .Dt NEWFS 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm newfs | .Nm newfs | ||||
.Nd construct a new UFS1/UFS2 file system | .Nd construct a new UFS1/UFS2 file system | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl EJNUjlnt | .Op Fl EJNUjlnt | ||||
▲ Show 20 Lines • Show All 246 Lines • ▼ Show 20 Lines | |||||
Note that changing any of these values from their defaults will make | Note that changing any of these values from their defaults will make | ||||
it impossible for | it impossible for | ||||
.Xr fsck 8 | .Xr fsck 8 | ||||
to find the alternate superblocks if the standard superblock is lost. | to find the alternate superblocks if the standard superblock is lost. | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl S Ar sector-size | .It Fl S Ar sector-size | ||||
The size of a sector in bytes (almost never anything but 512). | The size of a sector in bytes (almost never anything but 512). | ||||
.El | .El | ||||
.Sh NOTES ON THE NAMING | |||||
.Dq newfs | |||||
is a common name prefix for utilities creating filesystems, with the suffix | |||||
indicating the type of the filesystem, for instance | |||||
.Xr newfs_msdos 8 . | |||||
The | |||||
.Nm | |||||
utility is a special case which predates that convention. | |||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
kib: I do not see much usefulness in this parenthesized text, it can be omitted without any loss. | |||||
.Dl newfs /dev/ada3s1a | .Dl newfs /dev/ada3s1a | ||||
.Pp | .Pp | ||||
Creates a new ufs file system on | Creates a new ufs file system on | ||||
.Pa ada3s1a . | .Pa ada3s1a . | ||||
Done Inline ActionsI think this version reads better in English: .Sh NOTES ON THE NAMING .Dq newfs is a common name prefix for utilities creating filesystems, with the suffix indicating the type of the filesystem, for instance .Xr newfs_msdos 8 . .Nm is a special case which predates that convention. rpokala: I think this version reads better in English:
```
.Sh NOTES ON THE NAMING
.Dq newfs
is a common… | |||||
The | The | ||||
.Nm | .Nm | ||||
utility will use a block size of 32768 bytes, a fragment size of 4096 bytes | utility will use a block size of 32768 bytes, a fragment size of 4096 bytes | ||||
and the largest possible number of blocks per cylinders group. | and the largest possible number of blocks per cylinders group. | ||||
These values tend to produce better performance for most applications | These values tend to produce better performance for most applications | ||||
than the historical defaults | than the historical defaults | ||||
(8192 byte block size and 1024 byte fragment size). | (8192 byte block size and 1024 byte fragment size). | ||||
This large fragment size may lead to much wasted space | This large fragment size may lead to much wasted space | ||||
Show All 35 Lines |
I do not see much usefulness in this parenthesized text, it can be omitted without any loss.