pub fn mount<FS: Filesystem, P: AsRef<Path>>(
filesystem: FS,
mountpoint: P,
options: &[&OsStr]
) -> Result<()>
👎Deprecated: use mount2() instead
Expand description
Mount the given filesystem to the given mountpoint. This function will not return until the filesystem is unmounted.
Note that you need to lead each option with a separate "-o"
string. See
examples/hello.rs
.