github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/containerizer/system/unmount_linux.go (about)

     1  package system
     2  
     3  import "syscall"
     4  
     5  type Unmount struct {
     6  	Dir string
     7  }
     8  
     9  func (u Unmount) Unmount() error {
    10  	return syscall.Unmount(u.Dir, syscall.MNT_DETACH)
    11  }