9 "github.com/Sirupsen/logrus"
12 // Unmount the target specified.
13 func Unmount(target string) error {
14 if err := exec.Command("auplink", target, "flush").Run(); err != nil {
15 logrus.Warnf("Couldn't run auplink before unmount %s: %s", target, err)
17 if err := syscall.Unmount(target, 0); err != nil {