github.com/geofffranks/garden-linux@v0.0.0-20160715111146-26c893169cfa/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 }