github.com/vincentwoo/docker@v0.7.3-0.20160116130405-82401a4b13c0/pkg/system/syscall_unix.go (about)

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