X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount_constants.h;h=4d050d8819e4953a8f79c69c2a3a245ce70c2b5f;hp=ff7b3bc229ffeb304a1ecdf35fb5a4ea19dcb3c0;hb=12544486ef2de86e4f2dfc920cd2860fb81658d1;hpb=c0f7366f3ae8de8a62e3cc6824080e02e780f3b2 diff --git a/utils/mount/mount_constants.h b/utils/mount/mount_constants.h index ff7b3bc..4d050d8 100644 --- a/utils/mount/mount_constants.h +++ b/utils/mount/mount_constants.h @@ -1,5 +1,5 @@ -#ifndef _NFS_MOUNT_CONSTANTS_H -#define _NFS_MOUNT_CONSTANTS_H +#ifndef _NFS_UTILS_MOUNT_CONSTANTS_H +#define _NFS_UTILS_MOUNT_CONSTANTS_H #ifndef MS_DIRSYNC #define MS_DIRSYNC 128 /* Directory modifications are synchronous */ @@ -39,7 +39,10 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */ #ifndef MS_VERBOSE #define MS_VERBOSE 0x8000 /* 32768 */ #endif - +#ifndef MS_RELATIME +#define MS_RELATIME 0x200000 /* 200000: Update access times relative + to mtime/ctime */ +#endif /* * NFS fs-specific mount option flags * @@ -61,5 +64,8 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */ #define MS_MGC_MSK 0xffff0000 /* magic flag number mask */ #endif -#endif /* _NFS_MOUNT_CONSTANTS_H */ +/* Generic options that are prevented from appearing + * in the options field in /etc/mtab. */ +#define MS_NOMTAB (MS_REMOUNT) +#endif /* _NFS_UTILS_MOUNT_CONSTANTS_H */