Mono Class Library: Mono.Unix.UnixDriveInfo Overview | MembersMono.Unix.UnixDriveInfo.GetDrives Method |
Gets information about all drives listed in /etc/fstab. [Edit]
|
A Mono.Unix.UnixDriveInfo array containing all drives listed in /etc/fstab. [Edit]
Type Reason System.IO.IOException There was an error calling Mono.Unix.Native.Syscall.setfsent. [Edit]
This method only conceptually reads /etc/fstab; it actually uses the corresponding Mono.Unix.Native.Syscall 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. Mono.Unix.Native.Fstab.fs_file must start with a forward-slash ("/").
[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0