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 = umount(mntdir, MNT_NOFORCE);
66 plog(XLOG_WARNING, "unmount: %s is not mounted", mntdir);
71 plog(XLOG_ERROR, "mount point %s: %m", mntdir);
76 dlog("%s: unmount: %m", mntdir);
85 error = umount2_fs(mntdir, unmount_flags);
86 if ((error = umount2_fs(mntdir, unmount_flags)) < 0)
95 dlog("%s: unmount: %m", mntdir);
106 umount2_fs(const char *mntdir, u_int unmount_flags)
111 plog(XLOG_INFO, "umount2_fs: trying unmount/forced on %s", mntdir);
112 error = umount((char *)mntdir, MNT2_GEN_OPT_FORCE);
116 plog(XLOG_WARNING, "%s: unmount/force: %m", mntdir);
118 dlog("%s: unmount/force: OK", mntdir);