[linux-cifs-client] Re: add parsing to cifs mount option for
mounting to shares which support transport encryption
miklos at szeredi.hu
Mon May 19 07:44:41 GMT 2008
> cifs (and also nfs apparently) have some mount options which are
> stored per-mount and some which affect all connections to the same
> server from this client (ie affect the whole smb session, and are
> stored in a different structure). I thought it would be confusing to
> list properties shared by more than one mount in cifs_show_options
> (most of these are visible in /proc/fs/cifs/DebugData for debugging
> purposes if needed) - although I made exceptions for the userid and
> domain and for the per-tree-connection property "seal" since users are
> likely to be more interested in these.
Well, /proc/mounts is a bit more than just for the interest of the
user. It should contain _all_ mount options that are necessary to be
able to reconstruct the mount.
Only those options need not be shown that have a one-time permanent
effect on the underlying filesystem (e.g. creating a journal file).
All other options should be shown, whether they are per-sb or are
shared between multiple superblocks.
More information about the linux-cifs-client