From 6c3ae0fce3a74449868875dea374fd6e66f6a82a Mon Sep 17 00:00:00 2001 From: John Howard Date: Mon, 21 Mar 2016 21:37:00 -0700 Subject: [PATCH] Windows: Fix mountinfo Signed-off-by: John Howard --- mount/mountinfo_unsupported.go | 2 +- mount/mountinfo_windows.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 mount/mountinfo_windows.go diff --git a/mount/mountinfo_unsupported.go b/mount/mountinfo_unsupported.go index 8245f01..b8d9aa5 100644 --- a/mount/mountinfo_unsupported.go +++ b/mount/mountinfo_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux,!freebsd freebsd,!cgo +// +build !windows,!linux,!freebsd freebsd,!cgo package mount diff --git a/mount/mountinfo_windows.go b/mount/mountinfo_windows.go new file mode 100644 index 0000000..dab8a37 --- /dev/null +++ b/mount/mountinfo_windows.go @@ -0,0 +1,6 @@ +package mount + +func parseMountTable() ([]*Info, error) { + // Do NOT return an error! + return nil, nil +}