aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 18:14:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 18:14:38 +0000
commitfb5902ca5cf802557eb1e3c56502a2f5e27242f4 (patch)
treeb7270a59ca4639255067d7a6bc0a965d4ab6b0fe /include
parent1dbc643dd34df4daafe5a1835e325d0d74c8b70f (diff)
downloadbusybox-fb5902ca5cf802557eb1e3c56502a2f5e27242f4.tar.gz
- support relatime / norelatime
Diffstat (limited to 'include')
-rw-r--r--include/platform.h4
-rw-r--r--include/usage.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index d2c1f9d20..0f2f83a7d 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 78f40367e..e24299088 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" \