X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpatches%2Fmount-relatime.patch;fp=debian%2Fpatches%2Fmount-relatime.patch;h=5e5f899283b94f8b93f247633808dcd4087c2e57;hb=9ebb45093cbef8ab81d2e6b115d0445353b0e03a;hp=0000000000000000000000000000000000000000;hpb=b3be61fb6d22467e3f68cdb4d2b577d0120ec16e;p=busybox4maemo diff --git a/debian/patches/mount-relatime.patch b/debian/patches/mount-relatime.patch new file mode 100644 index 0000000..5e5f899 --- /dev/null +++ b/debian/patches/mount-relatime.patch @@ -0,0 +1,30 @@ +--- busybox.orig/util-linux/mount.c ++++ busybox/util-linux/mount.c +@@ -26,6 +26,9 @@ + /* For FEATURE_MOUNT_LABEL only */ + #include "volume_id.h" + #endif ++#ifndef MS_RELATIME ++#define MS_RELATIME (1 << 21) ++#endif + + /* Needed for nfs support only */ + #include +@@ -136,6 +139,8 @@ + /* "noatime" */ MS_NOATIME, + /* "diratime" */ ~MS_NODIRATIME, + /* "nodiratime" */ MS_NODIRATIME, ++ /* "relatime" */ MS_RELATIME, ++ /* "norelatime" */ ~MS_RELATIME, + /* "loud" */ ~MS_SILENT, + + // action flags +@@ -186,6 +191,8 @@ + "noatime" "\0" + "diratime" "\0" + "nodiratime" "\0" ++ "relatime" "\0" ++ "norelatime" "\0" + "loud" "\0" + + // action flags