Comment 3 for bug 2012563

Revision history for this message
Oliver Calder (ocalder) wrote :

Attached is a patch which adds support for 'nostrictatime', 'lazytime', and 'nolazytime'.

Since 'strictatime' already existed and documentation suggested 'nostrictatime' should already be included as well, 'nostrictatime' is a simple inclusion.

The kernel supports `MS_LAZYTIME` as `(1 << 25)`, so I added that to `parser/mount.h` with the corresponding 'lazytime' and 'nolazytime' options in `parser/mount.cc`.

More work is needed to understand userspace mount options such as 'nofail' which mount supports, so this patch does not include any fixes in that regard.