On Tue, May 19, 2020 at 01:28:24PM +0100, Stuart Henderson wrote:
> On 2020/05/19 06:15, 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
> >
>
> Easy to change that if wanted,
OK with me. I also like you to commit the other diff to fix the -O2
case.
-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:22:27 -0000
> @@ -194,7 +194,7 @@ main(int argc, char *argv[])
> u_int64_t nsecs;
>
> if (strstr(__progname, "mfs"))
> - mfs = Nflag = quiet = 1;
> + mfs = Nflag = quiet = Oflag = 1;
>
> getphysmem();
> maxpartitions = getmaxpartitions();
>
>