Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MountCapableFileSystemProvider.Unmount Method

Namespace: Rebex.IO.FileSystem
Assembly: Rebex.FileSystem.dll (version 7.0.9147)

Unmount(DirectoryNode)

Unmounts (disassociates) a file system from the mountDirectory.

Declaration
public void Unmount(DirectoryNode mountDirectory)
Parameters
Type Name Description
DirectoryNode mountDirectory

A mount point with a file system previously mounted using the Mount method.

Examples
//Mount directory.
var mountedDirectory = mountCapableFileSystem.Mount(@"/Temp", memoryProvider);
//Use mountedDirectory
//...
//...
//Disassociate file system from previously mounted directory '/Temp'.
mountCapableFileSystem.Unmount(mountedDirectory);
See Also
Mount(NodePath, FileSystemProvider, NodePath)
Mount(NodePath, FileSystemProvider)
Mount(NodePath, DirectoryNode)

Unmount(NodePath)

Unmounts (disassociates) a file system from DirectoryNode found on the mountDirectoryPath.

Declaration
public void Unmount(NodePath mountDirectoryPath)
Parameters
Type Name Description
NodePath mountDirectoryPath

A mount point path with a file system previously mounted using the Mount method.

Examples
//Disassociate file system from directory '/tmp'
hybridFileSystem.Unmount(@"/tmp");
See Also
Mount(NodePath, FileSystemProvider, NodePath)
Mount(NodePath, FileSystemProvider)
Mount(NodePath, DirectoryNode)
In This Article
  • Unmount(DirectoryNode)
  • Unmount(NodePath)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies