Mono.Posix 1.0.5000.0 2.0.0.0 4.0.0.0 All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. System.Object Represents information about Unix volumes. The class presents information about a Unix mount point or special file. It allows basic querying about the filesystem Total size and free disk space ( and ). Querying of all availble disk drives, , visible through /etc/fstab. Information provided this type may not be valid for any significant period of time, due to potential race conditions with other processes running on the system or because of other actions being performed within the current process. The only gurantee is that the information provided was valid at some point in time, or an will be thrown when attempting to access the provided information. To clarify, most properties will attempt to refresh the information before returning it so that the information retrieved is as up-to-date as possible, but it cannot take everything into consideration. Check the individual method and property documentation to determine if and when an exception will be thrown. Constructor 1.0.5000.0 2.0.0.0 4.0.0.0 A containing the Unix mount point to get information about. Creates a instance containing information about a Unix mount point and volume. isn't a valid mount point. is . Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int64 Gets the available free space for the drive. A containing the total available free space on the drive. The available free space is the space that normal users are able to write to (in the absense of file system quotas which may further limit how much disk space users can fill). The drive may have some space reserved for the super-user (root). Use for the total free space, including space reserved for the super-user. There was an error retrieving the total disk space. The volume may not be mounted. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.String Retrieves the file system format of the volume. A containing the file system format of the specified mount point. Property 1.0.5000.0 2.0.0.0 4.0.0.0 Mono.Unix.UnixDriveType Gets the drive type. A specifying which type of drive this mount point is. Currently, this always returns . Method 1.0.5000.0 2.0.0.0 4.0.0.0 Mono.Unix.UnixDriveInfo[] Gets information about all drives listed in /etc/fstab. A array containing all drives listed in /etc/fstab. This method only conceptually reads /etc/fstab; it actually uses the corresponding APIs, which may or may not actually read /etc/fstab (check your operating system documentation). This method does not return /etc/fstab entries which do not correspond to actual mount points. must start with a forward-slash ("/"). There was an error calling . Method 1.0.5000.0 2.0.0.0 4.0.0.0 Mono.Unix.UnixDriveInfo A containing the "special file" (block device, generally the first field in /etc/fstab). Creates a instance containing information about the specified block device name. A instance containing information about the specified special file (block device). Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Boolean Returns a indicating whether the specified mount point is connected and queryable. A indicating whether the specified mount point is connected and queryable. This property generates no exceptions. If this property returns , then the other properties should not generate s. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int64 Gets the maximum filename length. A containing the maximum number of bytes that may make up a filename. This value varies from filesystem to filesystem. The operating system does not specify an encoding for filenames, it just stores the bytes given to it. Since is a UTF-16 string encoding, each character may require more than one byte to store in the filesystem. Consequently the maximum filename length can not be directly compared against . There was an error retrieving the maximum filename length. The volume may not be mounted. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.String Gets the mount point. A containinig the mount point of the Unix volume. Property 1.0.5000.0 2.0.0.0 4.0.0.0 Mono.Unix.UnixDirectoryInfo Gets information about the mount point directory. A instance containing information about the mount point directory. Method 1.0.5000.0 2.0.0.0 4.0.0.0 System.String To be added. To be added. To be added. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int64 Gets the total free space on the volume. A containing the total free space on the Unix volume. The total free space includes all the free space on the Unix volume, and may include space the normal users are not able to write to, either because of disk quotas or because space is reserved for the super-user (root). Use for the available free space, excluding space reserved for the super-user. There was an error retrieving the total free space. The volume may not be mounted. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.Int64 Gets the total size of the Unix volume. A containing the total size of the volume. There was an error retrieving the total size. The volume may not be mounted. Property 1.0.5000.0 2.0.0.0 4.0.0.0 System.String Gets the block device name. A containing the block device for this volume.