svn commit: trunk/busybox: include util-linux
aldot at busybox.net
aldot at busybox.net
Wed Aug 6 18:14:38 UTC 2008
Author: aldot
Date: 2008-08-06 11:14:38 -0700 (Wed, 06 Aug 2008)
New Revision: 23068
Log:
- support relatime / norelatime
Modified:
trunk/busybox/include/platform.h
trunk/busybox/include/usage.h
trunk/busybox/util-linux/mount.c
Changeset:
Modified: trunk/busybox/include/platform.h
===================================================================
--- trunk/busybox/include/platform.h 2008-08-06 17:39:30 UTC (rev 23067)
+++ trunk/busybox/include/platform.h 2008-08-06 18:14:38 UTC (rev 23068)
@@ -350,8 +350,10 @@
#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)
#endif
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h 2008-08-06 17:39:30 UTC (rev 23067)
+++ trunk/busybox/include/usage.h 2008-08-06 18:14:38 UTC (rev 23068)
@@ -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" \
Modified: trunk/busybox/util-linux/mount.c
===================================================================
--- trunk/busybox/util-linux/mount.c 2008-08-06 17:39:30 UTC (rev 23067)
+++ trunk/busybox/util-linux/mount.c 2008-08-06 18:14:38 UTC (rev 23068)
@@ -137,6 +137,8 @@
/* "nodiratime" */ MS_NODIRATIME,
/* "mand" */ MS_MANDLOCK,
/* "nomand" */ ~MS_MANDLOCK,
+ /* "relatime" */ MS_RELATIME,
+ /* "norelatime" */ ~MS_RELATIME,
/* "loud" */ ~MS_SILENT,
// action flags
@@ -189,6 +191,8 @@
"nodiratime" "\0"
"mand" "\0"
"nomand" "\0"
+ "relatime" "\0"
+ "norelatime" "\0"
"loud" "\0"
// action flags
More information about the busybox-cvs
mailing list