.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "MAY_UMOUNT" "9" "09 October 2005" "" "" .SH NAME may_umount \- check if a mount point is busy .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int may_umount (struct vfsmount * \fImnt\fB); \fR .SH "ARGUMENTS" .TP \fB\fImnt\fB\fR root of mount .SH "DESCRIPTION" .PP This is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy. .PP Doesn't take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it's here is that we need a non-destructive way to look for easily umountable filesystems.