[linux-cifs-client] mount options atime/diratime on cifs

Shirish Pargaonkar shirishpargaonkar at gmail.com
Mon Apr 9 18:40:39 GMT 2007


mount command does not support passing on mount options such as atime and
diratime to the mounting filesystems.  So it is OK if one wants to mount
a filesytem with options such as noatime and nodiratime but mount options
such as atime and diratime get filtered out.

Today cifs client does not support behaviour for the mount options atime and
diratime.  A command such as touch on a file on a mounted filesystem will
update the access time of that file on client as well as server.
But if a file is loaded and cached on the client, access times will get
updated only on the client inode but not on the server inode.
So we can say that default behaviour of cifs client is such that it is
mounted with options noatime and nodiratime.
Because of the mount command behaviour, if one wants to mount a
filesysetem using cifs client with options atime and diratime, it is not
possible.

So, it appears that for cifs, an equivalent mount option of atime and
diratime would be needed.


Thoughts, suggestions on the name of the option and behaviour under
this option?

Regards,

Shirish S. Pargaonkar


More information about the linux-cifs-client mailing list