2015-09-10 02:23:06 +00:00
|
|
|
// +build linux freebsd
|
|
|
|
|
|
|
|
package system
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
2015-10-26 20:34:49 +00:00
|
|
|
// Unmount is a platform-specific helper function to call
|
2015-09-10 02:23:06 +00:00
|
|
|
// the unmount syscall.
|
2015-10-26 20:34:49 +00:00
|
|
|
func Unmount(dest string) {
|
2015-09-10 02:23:06 +00:00
|
|
|
syscall.Unmount(dest, 0)
|
|
|
|
}
|