Enum fuser::MountOption
source · pub enum MountOption {
}
Expand description
Mount options accepted by the FUSE filesystem type See ‘man mount.fuse’ for details
Variants§
FSName(String)
Set the name of the source in mtab
Subtype(String)
Set the filesystem subtype in mtab
CUSTOM(String)
Allows passing an option which is not otherwise supported in these enums
AllowOther
Allow all users to access files on this filesystem. By default access is restricted to the user who mounted it
AllowRoot
Allow the root user to access this filesystem, in addition to the user who mounted it
AutoUnmount
Automatically unmount when the mounting process exits
AutoUnmount
requires AllowOther
or AllowRoot
. If AutoUnmount
is set and neither Allow...
is set, the FUSE configuration must permit allow_other
, otherwise mounting will fail.
DefaultPermissions
Enable permission checking in the kernel
Dev
Enable special character and block devices
NoDev
Disable special character and block devices
Suid
Honor set-user-id and set-groupd-id bits on files
NoSuid
Don’t honor set-user-id and set-groupd-id bits on files
RO
Read-only filesystem
RW
Read-write filesystem
Exec
Allow execution of binaries
NoExec
Don’t allow execution of binaries
Atime
Support inode access time
NoAtime
Don’t update inode access time
DirSync
All modifications to directories will be done synchronously
Sync
All I/O will be done synchronously
Async
All I/O will be done asynchronously
Trait Implementations§
source§impl Clone for MountOption
impl Clone for MountOption
source§fn clone(&self) -> MountOption
fn clone(&self) -> MountOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MountOption
impl Debug for MountOption
source§impl Hash for MountOption
impl Hash for MountOption
source§impl PartialEq for MountOption
impl PartialEq for MountOption
source§fn eq(&self, other: &MountOption) -> bool
fn eq(&self, other: &MountOption) -> bool
self
and other
values to be equal, and is used
by ==
.