This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,HURD] add ST_NOATIME


Hi,

a simple patch to provide the GNU-specific ST_NOATIME flag for statvfs 
(which is already available on Linux).
Once this patch is accepted, it will follow an Hurd patch to expose this 
attribute in libdiskfs-based translators (such as ext2fs and tmpfs).

Thanks,
-- 
Pino Toscano
Hurd: add ST_NOATIME

2013-05-09  Pino Toscano  <toscano.pino@tiscali.it>

	* sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.

--- a/sysdeps/mach/hurd/bits/statvfs.h
+++ b/sysdeps/mach/hurd/bits/statvfs.h
@@ -87,7 +87,9 @@ enum
   ,
   ST_NOEXEC = 8,
 # define ST_NOEXEC	ST_NOEXEC
-  ST_SYNCHRONOUS = 16
+  ST_SYNCHRONOUS = 16,
 # define ST_SYNCHRONOUS	ST_SYNCHRONOUS
+  ST_NOATIME = 32		/* Do not update access times.  */
+# define ST_NOATIME	ST_NOATIME
 #endif
 };

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]