pub const MOUNT_ATTR = packed struct(u32) RELATIME: u0Update atime relative to mtime/ctime.
RDONLY: boolMount read-only.
NOSUID: boolIgnore suid and sgid bits.
NODEV: boolDisallow access to device special files.
NOEXEC: boolDisallow program execution.
NOATIME: boolDo not update access times.
STRICTATIME: boolAlways perform atime updates.
_40: bool = falseNODIRATIME: boolDo not update directory access times.
_100: u12 = 0IDMAP: boolIdmap mount to @userns_fd in struct mount_attr.
NOSYMFOLLOW: boolDo not follow symlinks.
_: u10 = 01192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218pub const MOUNT_ATTR = packed struct(u32) {
/// Update atime relative to mtime/ctime.
RELATIME: u0, // This is the default ATIME, it's true unless a different ATIME is set.
/// Mount read-only.
RDONLY: bool, // 0x00000001
/// Ignore suid and sgid bits.
NOSUID: bool, // 0x00000002
/// Disallow access to device special files.
NODEV: bool, // 0x00000004
/// Disallow program execution.
NOEXEC: bool, // 0x00000008
/// Do not update access times.
NOATIME: bool, // 0x00000010
/// Always perform atime updates.
STRICTATIME: bool, // 0x00000020
_40: bool = false, // 0x00000040
/// Do not update directory access times.
NODIRATIME: bool, // 0x00000080
_100: u12 = 0, // 0x00000100
/// Idmap mount to @userns_fd in struct mount_attr.
IDMAP: bool, // 0x00100000
/// Do not follow symlinks.
NOSYMFOLLOW: bool, // 0x00200000
_: u10 = 0,
// ATIME: u32, // 0x00000070 This is a mask, not a flag.
}