diff options
author | Jakob Unterwurzacher | 2025-04-19 19:39:10 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-04-19 19:42:28 +0200 |
commit | 6918a4413decccd2f535e66d12b2e3dee10a74a8 (patch) | |
tree | c8ab50649f69ba60dffbb6262160adc9ca024a88 /Documentation | |
parent | b6ada0247a6967cf7dac0a94af31cd1cdc89dd41 (diff) |
cli: mount: add -context option
Set the SELinux context. See mount(8) for details.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/MANPAGE.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index c7a1c03..64bbaa8 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -208,6 +208,16 @@ Show all invalid filenames: -badname '*' +#### -context string +Set the SELinux context. See mount(8) for details. + +This option was added for compatibility with xfstests which sets +this option via `-o context="system_u:object_r:root_t:s0"`. + +Only works when mounting as root, otherwise you get this error from fusermount3: + + fusermount3: unknown option 'context="system_u:object_r:root_t:s0"' + #### -ctlsock string Create a control socket at the specified location. The socket can be used to decrypt and encrypt paths inside the filesystem. When using |