Re: request for patches: showing mount options

Steve French
2007-07-27T16:04:12Z

cifs and nfs (probably others) have some mount options which are mount
order dependent ie may be invalid or ignored when you have more than
one mount to the same server, or mount the same resource in two places
with different options. In the long run, at least for cifs, we may be
able to better handle a user mounting to the same server twice with
e.g. different security options (authentication, packet signing ...),
but in the meantime are there any thoughts on whether those type of
mount options should be displayed differently

On 7/27/07, Miklos Szeredi <miklos@szeredi.hu> wrote:
> > all - fs has options, but doesn't define ->show_options()
> > some - fs defines ->show_options(), but some options are not shown
> > noopt - fs does not have options
> > good - fs shows all options
> > patch - I have a patch
>
> [...]
>
> > > autofs all
> >
> > I'm not sure I understand this.
> > How does autofs show it's options without a ->show_options method?
>
> It doesn't. The "all" means, all of them need to be added to
> ->show_options(), not that all are shown.
>
> I can see now that this is slightly confusing, sorry.
>
> So the ones that need attention are "all" and "some". The others are
> fine in theory. Of course I may have missed something.
>
> > > autofs4 some
> >
> > OK, uid and gid aren't shown.
> > That should be straight forward to fix.
> > What's your time frame for this?
>
> ASAP ;)
>
> 2.6.24 would be a nice, but it won't be easy...
>
> Miklos
>

--
Thanks,

Steve