public ProcMount(DriveType driveType, string name, string mount, string type, Dictionary<string, string> options) { DriveType = driveType; Name = name; RootDirectory = mount; DriveFormat = type; _unixDriveInfo = new UnixDriveInfo(mount); }
public static UnixDriveInfo GetDriveInfo(this UnixFileInfo fileInfo) { Mono.Unix.UnixDirectoryInfo file = new Mono.Unix.UnixDirectoryInfo(fileInfo.FullName); Mono.Unix.UnixDriveInfo drive = new Mono.Unix.UnixDriveInfo(fileInfo.FullName); return(drive); }
public void Rescan() { drive = new UnixDriveInfo (MountPoint); }