Module Name: src
Committed By: mrg
Date: Wed Mar 6 05:11:13 UTC 2019
Modified Files:
src/sbin/newfs_ext2fs: newfs_ext2fs.8 newfs_ext2fs.c
Log Message:
make ext2fs rev1 the default. this enables LARGEFILES support.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/newfs_ext2fs/newfs_ext2fs.8
cvs rdiff -u -r1.9 -r1.10 src/sbin/newfs_ext2fs/newfs_ext2fs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_ext2fs/newfs_ext2fs.8
diff -u src/sbin/newfs_ext2fs/newfs_ext2fs.8:1.12 src/sbin/newfs_ext2fs/newfs_ext2fs.8:1.13
--- src/sbin/newfs_ext2fs/newfs_ext2fs.8:1.12 Mon Jul 3 21:33:42 2017
+++ src/sbin/newfs_ext2fs/newfs_ext2fs.8 Wed Mar 6 05:11:13 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: newfs_ext2fs.8,v 1.12 2017/07/03 21:33:42 wiz Exp $
+.\" $NetBSD: newfs_ext2fs.8,v 1.13 2019/03/06 05:11:13 mrg Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)newfs.8 8.6 (Berkeley) 5/3/95
.\"
-.Dd March 1, 2009
+.Dd March 5, 2019
.Dt NEWFS_EXT2FS 8
.Os
.Sh NAME
@@ -140,10 +140,10 @@ Select the filesystem-format.
.Ql GOOD_OLD_REV ;
this option is primarily used to build root file systems that can be
understood by old or dumb firmwares for bootstrap.
-(default)
.It 1
.Ql DYNAMIC_REV ;
-various extended (and sometimes incompatible) features are enabled
+the default.
+Various extended (and sometimes incompatible) features are enabled
(though not all features are supported on
.Nx ) .
Currently only the following features are supported:
Index: src/sbin/newfs_ext2fs/newfs_ext2fs.c
diff -u src/sbin/newfs_ext2fs/newfs_ext2fs.c:1.9 src/sbin/newfs_ext2fs/newfs_ext2fs.c:1.10
--- src/sbin/newfs_ext2fs/newfs_ext2fs.c:1.9 Sat Oct 19 01:09:59 2013
+++ src/sbin/newfs_ext2fs/newfs_ext2fs.c Wed Mar 6 05:11:13 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_ext2fs.c,v 1.9 2013/10/19 01:09:59 christos Exp $ */
+/* $NetBSD: newfs_ext2fs.c,v 1.10 2019/03/06 05:11:13 mrg Exp $ */
/*
* Copyright (c) 1983, 1989, 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
#if 0
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
#else
-__RCSID("$NetBSD: newfs_ext2fs.c,v 1.9 2013/10/19 01:09:59 christos Exp $");
+__RCSID("$NetBSD: newfs_ext2fs.c,v 1.10 2019/03/06 05:11:13 mrg Exp $");
#endif
#endif /* not lint */
@@ -100,7 +100,7 @@ static void usage(void) __dead;
#define DFL_SECSIZE 512
int Nflag; /* run without writing file system */
-int Oflag = 0; /* format as conservative REV0 by default */
+int Oflag = 1; /* format as REV1 by default */
int verbosity; /* amount of printf() output */
#define DEFAULT_VERBOSITY 3 /* 4 is traditional behavior of newfs(8) */
int64_t fssize; /* file system size */