Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public void Rescan()
 {
     drive = new UnixDriveInfo (MountPoint);
 }