On Tue, May 19, 2020 at 06:15:15AM -0600, Todd C. Miller wrote:
> On Tue, 19 May 2020 14:04:37 +0200, Otto Moerbeek wrote:
>
> > In 18 years, yes. But the -O2 case should work whartever the default
> > is for mfs.
>
> I agree that -O2 should work for mfs, I'm just wasn't sure that
> should be the default for mfs. We don't actually have a way to
> specify the ffs version with mount_mfs as far as I can tell.
>
> - todd
>
Indeed. We could move mfs to ffs1 unconditionally like this.
-Otto
Index: newfs.c
===================================================================
RCS file: /cvs/src/sbin/newfs/newfs.c,v
retrieving revision 1.113
diff -u -p -r1.113 newfs.c
--- newfs.c 18 May 2020 06:20:44 -0000 1.113
+++ newfs.c 19 May 2020 12:25:41 -0000
@@ -328,6 +328,7 @@ main(int argc, char *argv[])
rl.rlim_cur = rl.rlim_max;
(void)setrlimit(RLIMIT_DATA, &rl);
}
+ Oflag = 1;
}
special = argv[0];