Remove Platform.HasSingleRootFilesystem query

This commit is contained in:
Andrew Schwartzmeyer committed 2016-07-14 17:34:12 -07:00
1 parent e6c037c666
commit 527f30a013
3 files changed
+10 -11

No files matched your search

@@ -217,18 +217,12 @@ namespace System.Management.Automation
}
// Linux has a single rooted file system
internal static bool HasSingleRootFilesystem()
{
return !IsWindows;
}
// Linux has no notion of file shares. It has mount points
// instead, which are subdirectories of its single-root
// filesystem.
internal static bool HasFileShares()
{
return !HasSingleRootFilesystem();
return IsWindows();
}
// Linux has no support for UNC, just mounts in a single rooted hierarchy