IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 9 > vfs_mountedon man page

vfs_mountedon man page

Section 9 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


VFS_MOUNTEDON(9)       FreeBSD Kernel Developer's Manual      VFS_MOUNTEDON(9)


NAME

     vfs_mountedon -- check if the vnode belongs to a mounted file system


SYNOPSIS

     #include <sys/param.h>
     #include <sys/mount.h>

     int
     vfs_mountedon(struct vnode *vp);


DESCRIPTION

     vfs_mountedon() inspects the mount structure in vp to determine if it
     points to a valid mount point.  If the mount is valid, the vnode is con-
     sidered to be busy.

     A common use of vfs_mountedon() is to call it on device vnodes to deter-
     mine if they are already associated with a file system.  This is done to
     prevent multiple mounts on the same device.


RETURN VALUES

     EBUSY is returned if the vnode has a valid mount point; otherwise, 0 is
     returned.


PSEUDOCODE

     int
     ffs_mountfs(devvp, mp, td, malloctype)
             register struct vnode *devvp;
             struct mount *mp;
             struct thread *td;
             struct malloc_type *malloctype;
     {
             ...

             error = vfs_mountedon(devvp);
             if (error)
                     return (error);

             ...
     }


AUTHORS

     This manual page was written by Chad David <davidc@acns.ab.ca>.

FreeBSD 6.2                    November 21, 2001                   FreeBSD 6.2


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:40:49 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4333 hits)
(Suse Linux 10.1)

ssh man page (4186 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (4148 hits)
(Solaris 10 11_06)

sqlite3 man page (4071 hits)
(openSUSE 10.2)

svn man page (3249 hits)
(FreeBSD 6.2)

startproc man page (1908 hits)
(Suse Linux 10.1)

pprosetup man page (1667 hits)
(Solaris 10 11_06)

netcat man page (1613 hits)
(Suse Linux 10.1)

signal man page (1592 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (1558 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Robust Foot Switch :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum