mount_attr
what mount properties to set and clear
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
what mount properties to set and clear
Linux kernel headers
#include <sys/mount.h>
struct mount_attr {
u64 attr_set; /* Mount properties to set */
u64 attr_clr; /* Mount properties to clear */
u64 propagation; /* Mount propagation type */
u64 userns_fd; /* User namespace file descriptor */
/* ... */
};
Specifies which mount properties should be changed with mount_setattr(2).
The fields are as follows:
Linux.
Linux 5.12. glibc 2.36.
Extra fields may be appended to the structure, with a zero value in a new field resulting in the kernel behaving as though that extension field was not present. Therefore, a user must zero-fill this structure on initialization.