Messages in this thread | | | Date | Sun, 21 Dec 1997 23:31:46 -0500 (EST) | From | "Adam D. Bradley" <> | Subject | Re: NODIRATIME patch for 2.1.73 |
| |
> > 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.
Just ideas, Adam -- Things look so bad everywhere Adam D. Bradley artdodge@cs.bu.edu In this whole world what is fair Boston University Computer Science We walk blind and we try to see Ph.D. student and Linux hacker Falling behind in what could be ----> Bring me a Higher Love ----> <><
| |