-.\" $OpenBSD: newfs_ext2fs.8,v 1.7 2013/07/16 09:45:28 schwarze Exp $
+.\" $OpenBSD: newfs_ext2fs.8,v 1.8 2014/04/21 09:22:15 guenther Exp $
.\" $NetBSD: newfs_ext2fs.8,v 1.7 2009/12/01 08:47:25 pooka Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993, 1994
.\"
.\" @(#)newfs.8 8.6 (Berkeley) 5/3/95
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: April 21 2014 $
.Dt NEWFS_EXT2FS 8
.Os
.Sh NAME
implementation doesn't support fragmentation.
.It Fl I
Do not require that the file system type listed in the disk label is
-.Ql Linux Ext2 .
+.Ql ext2fs .
.It Fl i Ar bytes-per-inode
This specifies the density of inodes in the file system.
If fewer inodes are desired, a larger number should be used;
command to succeed,
the disk label should first be updated such that the fstype field for the
partition is set to
-.Ql Linux Ext2 ,
+.Ql ext2fs ,
unless
.Fl F
or
-/* $OpenBSD: newfs_ext2fs.c,v 1.9 2013/11/22 04:14:01 deraadt Exp $ */
+/* $OpenBSD: newfs_ext2fs.c,v 1.10 2014/04/21 09:22:15 guenther Exp $ */
/* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */
/*
static const char m[] =
"%s partition type is not `%s' (or use -I)";
if (pp->p_fstype != FS_EXT2FS)
- errx(EXIT_FAILURE, m, special, "Linux Ext2");
+ errx(EXIT_FAILURE, m, special, "ext2fs");
}
if (sectorsize == 0) {
sectorsize = lp->d_secsize;
"\t-D inodesize\tsize of an inode in bytes (128 or 256)\n"
"\t-F \t\tcreate file system image in regular file\n"
"\t-f fsize\tfragment size\n"
- "\t-I \t\tdo not check that the file system type is `Linux Ext2'\n"
+ "\t-I \t\tdo not check that the file system type is `ext2fs'\n"
"\t-i density\tnumber of bytes per inode\n"
"\t-m minfree\tminimum free space %\n"
"\t-N \t\tdo not create file system, just print out parameters\n"