syscall_unix.go 269 B

1234567891011
  1. // +build linux freebsd
  2. package system // import "github.com/docker/docker/pkg/system"
  3. import "golang.org/x/sys/unix"
  4. // Unmount is a platform-specific helper function to call
  5. // the unmount syscall.
  6. func Unmount(dest string) error {
  7. return unix.Unmount(dest, 0)
  8. }