Lines Matching defs:unmount
57 /// Specifies if a real unmount(2) is available.
60 /// versions of the unmount code unconditionally. This is a way to prevent
75 # error "umount(8) detected when unmount(2) is also available"
81 /// Fake unmount(2) function for systems without it.
84 /// regardless of whether they actually have an unmount(2) or not.
87 /// \param unused_flags The flags to the unmount(2) call.
91 unmount(const char* KYUA_DEFS_UNUSED_PARAM(path),
204 /// \param path The location to unmount.
214 kyua_error_warn(error, "Cannot unmount %s", path);
350 /// Unmounts a file system using unmount(2).
352 /// \pre unmount(2) must be available; i.e. have_unmount2 must be true.
354 /// \param mount_point The file system to unmount.
362 if (unmount(mount_point, 0) == -1) {
363 return kyua_libc_error_new(errno, "unmount(%s) failed",
375 /// \param mount_point The file system to unmount.
401 error = kyua_libc_error_new(EBUSY, "unmount(%s) failed",
537 /// \param mount_point The file system to unmount.
545 // FreeBSD's unmount(2) requires paths to be absolute. To err on the side
565 kyua_error_warn(error, "%s busy; unmount retries left %d",