Running on Ubuntu in Windows Subsystem for Linux, on rs_prerelease build 14915, DriveInfo.DriveType reports "Unknown" for both the Linux file system (/, /usr, etc.) and mounted Windows drives (/mnt/c, etc). I would expect it to report "fixed" for at least the Linux file system, and preferably the mounted Windows drives as well.
The df -T command reports file system names for these, so apparently there is some info available:
Filesystem Type 1K-blocks Used Available Use% Mounted on
rootfs lxfs 498859004 167549372 331309632 34% /
data lxfs 498859004 167549372 331309632 34% /data
cache lxfs 498859004 167549372 331309632 34% /cache
mnt lxfs 498859004 167549372 331309632 34% /mnt
none tmpfs 498859004 167549372 331309632 34% /dev
none tmpfs 498859004 167549372 331309632 34% /run
none tmpfs 498859004 167549372 331309632 34% /run/lock
none tmpfs 498859004 167549372 331309632 34% /run/shm
none tmpfs 498859004 167549372 331309632 34% /run/user
none drvfs 498859004 167549372 331309632 34% /mnt/c
(note that / is "lxfs" and /mnt/c is "drvfs."
This causes a failure in the DriveInfo tests (in DriveInfoUnixTests.PropertiesOfValidDrive). I'll be conditionally disabling that test for now.
Running on Ubuntu in Windows Subsystem for Linux, on rs_prerelease build 14915, DriveInfo.DriveType reports "Unknown" for both the Linux file system (
/,/usr, etc.) and mounted Windows drives (/mnt/c, etc). I would expect it to report "fixed" for at least the Linux file system, and preferably the mounted Windows drives as well.The
df -Tcommand reports file system names for these, so apparently there is some info available:(note that
/is "lxfs" and/mnt/cis "drvfs."This causes a failure in the DriveInfo tests (in
DriveInfoUnixTests.PropertiesOfValidDrive). I'll be conditionally disabling that test for now.