From fb5902ca5cf802557eb1e3c56502a2f5e27242f4 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 6 Aug 2008 18:14:38 +0000 Subject: - support relatime / norelatime --- include/platform.h | 4 +++- include/usage.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/platform.h b/include/platform.h index d2c1f9d..0f2f83a 100644 --- a/include/platform.h +++ b/include/platform.h @@ -350,7 +350,9 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c) #ifndef MS_SHARED #define MS_SHARED (1<<20) #endif - +#ifndef MS_RELATIME +#define MS_RELATIME (1 << 21) +#endif #if !defined(BLKSSZGET) #define BLKSSZGET _IO(0x12, 104) diff --git a/include/usage.h b/include/usage.h index 78f4036..e242990 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2661,6 +2661,7 @@ " [a]sync Writes are asynchronous / synchronous\n" \ " [no]atime Disable / enable updates to inode access times\n" \ " [no]diratime Disable / enable atime updates to directories\n" \ + " [no]relatime Disable / enable atime updates relative to modification time\n" \ " [no]dev Allow use of special device files / disallow them\n" \ " [no]exec Allow use of executable files / disallow them\n" \ " [no]suid Allow set-user-id-root programs / disallow them\n" \ -- cgit v1.1