Re: NODIRATIME patch for 2.1.73

Richard Gooch (rgooch@atnf.CSIRO.AU)
Mon, 22 Dec 1997 16:02:50 +1100

Adam D. Bradley writes:
> > > Perhaps the best option is to provide some mechanism (/etc or /proc file)
> > > whereby mount could divine the latest mounting secrets at runtime? Some
> > > hack on /proc/filesystems maybe, or a new /proc/fsoptions...
> >
> > I don't see what this has to do with the NODIRATIME patch?!?!
> > BTW: /proc/mounts will tell you what options were used when a
> > filesystem was mounted.
> I think you missed the point... the problem with new mount options is
> that they need to be specified explicitly in the userspace code for
> mount as well as in the filesystem code.
> This is actually an elegant idea... allow /proc/filesystems to
> specify a list of textual names for options and their corresponding
> binary flag values. This makes adding new mount options a non-issue
> from the point of view of the mount program: if it sees an option it
> doesn't recognize, it checks the appropriate /proc/filesystems line to
> see if that specifies it.

Ah, now I see what you're getting at. Yep, that's a good idea. I like
it. It would have saved me modifying mount(8) as well. So, when do we
see your patch? ;-)