Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mount.h
Show First 20 Lines • Show All 290 Lines • ▼ Show 20 Lines | |||||
#define MNT_GJOURNAL 0x0000000002000000ULL /* GEOM journal support enabled */ | #define MNT_GJOURNAL 0x0000000002000000ULL /* GEOM journal support enabled */ | ||||
#define MNT_MULTILABEL 0x0000000004000000ULL /* MAC support for objects */ | #define MNT_MULTILABEL 0x0000000004000000ULL /* MAC support for objects */ | ||||
#define MNT_ACLS 0x0000000008000000ULL /* ACL support enabled */ | #define MNT_ACLS 0x0000000008000000ULL /* ACL support enabled */ | ||||
#define MNT_NOATIME 0x0000000010000000ULL /* dont update file access time */ | #define MNT_NOATIME 0x0000000010000000ULL /* dont update file access time */ | ||||
#define MNT_NOCLUSTERR 0x0000000040000000ULL /* disable cluster read */ | #define MNT_NOCLUSTERR 0x0000000040000000ULL /* disable cluster read */ | ||||
#define MNT_NOCLUSTERW 0x0000000080000000ULL /* disable cluster write */ | #define MNT_NOCLUSTERW 0x0000000080000000ULL /* disable cluster write */ | ||||
#define MNT_SUJ 0x0000000100000000ULL /* using journaled soft updates */ | #define MNT_SUJ 0x0000000100000000ULL /* using journaled soft updates */ | ||||
#define MNT_AUTOMOUNTED 0x0000000200000000ULL /* mounted by automountd(8) */ | #define MNT_AUTOMOUNTED 0x0000000200000000ULL /* mounted by automountd(8) */ | ||||
#define MNT_UNTRUSTED 0x0000000800000000ULL /* filesys metadata untrusted */ | |||||
/* | /* | ||||
* NFS export related mount flags. | * NFS export related mount flags. | ||||
*/ | */ | ||||
#define MNT_EXRDONLY 0x0000000000000080ULL /* exported read only */ | #define MNT_EXRDONLY 0x0000000000000080ULL /* exported read only */ | ||||
#define MNT_EXPORTED 0x0000000000000100ULL /* filesystem is exported */ | #define MNT_EXPORTED 0x0000000000000100ULL /* filesystem is exported */ | ||||
#define MNT_DEFEXPORTED 0x0000000000000200ULL /* exported to the world */ | #define MNT_DEFEXPORTED 0x0000000000000200ULL /* exported to the world */ | ||||
#define MNT_EXPORTANON 0x0000000000000400ULL /* anon uid mapping for all */ | #define MNT_EXPORTANON 0x0000000000000400ULL /* anon uid mapping for all */ | ||||
Show All 21 Lines | #define MNT_VISFLAGMASK (MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | \ | ||||
MNT_NOSUID | MNT_UNION | MNT_SUJ | \ | MNT_NOSUID | MNT_UNION | MNT_SUJ | \ | ||||
MNT_ASYNC | MNT_EXRDONLY | MNT_EXPORTED | \ | MNT_ASYNC | MNT_EXRDONLY | MNT_EXPORTED | \ | ||||
MNT_DEFEXPORTED | MNT_EXPORTANON| MNT_EXKERB | \ | MNT_DEFEXPORTED | MNT_EXPORTANON| MNT_EXKERB | \ | ||||
MNT_LOCAL | MNT_USER | MNT_QUOTA | \ | MNT_LOCAL | MNT_USER | MNT_QUOTA | \ | ||||
MNT_ROOTFS | MNT_NOATIME | MNT_NOCLUSTERR| \ | MNT_ROOTFS | MNT_NOATIME | MNT_NOCLUSTERR| \ | ||||
MNT_NOCLUSTERW | MNT_SUIDDIR | MNT_SOFTDEP | \ | MNT_NOCLUSTERW | MNT_SUIDDIR | MNT_SOFTDEP | \ | ||||
MNT_IGNORE | MNT_EXPUBLIC | MNT_NOSYMFOLLOW | \ | MNT_IGNORE | MNT_EXPUBLIC | MNT_NOSYMFOLLOW | \ | ||||
MNT_GJOURNAL | MNT_MULTILABEL | MNT_ACLS | \ | MNT_GJOURNAL | MNT_MULTILABEL | MNT_ACLS | \ | ||||
MNT_NFS4ACLS | MNT_AUTOMOUNTED | MNT_VERIFIED) | MNT_NFS4ACLS | MNT_AUTOMOUNTED | MNT_VERIFIED | \ | ||||
MNT_UNTRUSTED) | |||||
/* Mask of flags that can be updated. */ | /* Mask of flags that can be updated. */ | ||||
#define MNT_UPDATEMASK (MNT_NOSUID | MNT_NOEXEC | \ | #define MNT_UPDATEMASK (MNT_NOSUID | MNT_NOEXEC | \ | ||||
MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | \ | MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | \ | ||||
MNT_NOATIME | \ | MNT_NOATIME | \ | ||||
MNT_NOSYMFOLLOW | MNT_IGNORE | \ | MNT_NOSYMFOLLOW | MNT_IGNORE | \ | ||||
MNT_NOCLUSTERR | MNT_NOCLUSTERW | MNT_SUIDDIR | \ | MNT_NOCLUSTERR | MNT_NOCLUSTERW | MNT_SUIDDIR | \ | ||||
MNT_ACLS | MNT_USER | MNT_NFS4ACLS | \ | MNT_ACLS | MNT_USER | MNT_NFS4ACLS | \ | ||||
MNT_AUTOMOUNTED) | MNT_AUTOMOUNTED | MNT_UNTRUSTED) | ||||
/* | /* | ||||
* External filesystem command modifier flags. | * External filesystem command modifier flags. | ||||
* Unmount can use the MNT_FORCE flag. | * Unmount can use the MNT_FORCE flag. | ||||
* XXX: These are not STATES and really should be somewhere else. | * XXX: These are not STATES and really should be somewhere else. | ||||
* XXX: MNT_BYFSID and MNT_NONBUSY collide with MNT_ACLS and MNT_MULTILABEL, | * XXX: MNT_BYFSID and MNT_NONBUSY collide with MNT_ACLS and MNT_MULTILABEL, | ||||
* but because MNT_ACLS and MNT_MULTILABEL are only used for mount(2), | * but because MNT_ACLS and MNT_MULTILABEL are only used for mount(2), | ||||
* and MNT_BYFSID and MNT_NONBUSY are only used for unmount(2), | * and MNT_BYFSID and MNT_NONBUSY are only used for unmount(2), | ||||
▲ Show 20 Lines • Show All 605 Lines • Show Last 20 Lines |