1 2 3 4 5 6 7 8 9 10 11
// +build linux freebsd package system import "syscall" // Unmount is a platform-specific helper function to call // the unmount syscall. func Unmount(dest string) error { return syscall.Unmount(dest, 0) }