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

MountCapableFileSystemProvider.Unmount Method

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

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
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies