Home | History | Annotate | Download | only in umount

Lines Matching refs:mntdir

54 umount_fs(char *mntdir, const char *mnttabname, u_int unmount_flags)
59 error = unmount(mntdir, 0);
67 plog(XLOG_WARNING, "unmount: %s is not mounted", mntdir);
73 dlog("%s: unmount: %m", mntdir);
82 error = umount2_fs(mntdir, unmount_flags);
92 dlog("%s: unmount: %m", mntdir);
103 umount2_fs(const char *mntdir, u_int unmount_flags)
108 plog(XLOG_INFO, "umount2_fs: trying unmount/forced on %s", mntdir);
109 error = unmount(mntdir, MNT2_GEN_OPT_FORCE);
113 plog(XLOG_WARNING, "%s: unmount/force: %m", mntdir);
115 dlog("%s: unmount/force: OK", mntdir);