X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount_constants.h;h=7c972da3dcb2c4354e8c6998fc6fccb26da3a123;hp=19a7bf586769c92370736d96b87bf46de9b9b25d;hb=a4b10d48a730fbc6ff62197facddccdf7e204610;hpb=a0520fa1a41bd33815b331b660b4545f2723495c diff --git a/utils/mount/mount_constants.h b/utils/mount/mount_constants.h index 19a7bf5..7c972da 100644 --- a/utils/mount/mount_constants.h +++ b/utils/mount/mount_constants.h @@ -39,6 +39,18 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */ #ifndef MS_VERBOSE #define MS_VERBOSE 0x8000 /* 32768 */ #endif + +/* + * NFS fs-specific mount option flags + * + * MS_DUMMY is assigned to mount options that are not to be + * passed to the kernel via the "flags" argument. These are + * generally ignored or handled entirely in user space. + */ +#define MS_DUMMY 0x00000000 +#define MS_USERS 0x40000000 +#define MS_USER 0x80000000 + /* * Magic mount flag number. Had to be or-ed to the flag values. */ @@ -50,4 +62,3 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */ #endif #endif /* _NFS_MOUNT_CONSTANTS_H */ -