MAY_UMOUNT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

may_umount - check if a mount point is busy  

SYNOPSIS

"SYNOPSIS"

int may_umount (struct vfsmount * mnt);  

ARGUMENTS

mnt
root of mount
 

DESCRIPTION

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.

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:27 GMT, October 09, 2005