*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> vflush (9)              
Title
Content
Arch
Section
 

VFLUSH(9)

Contents


NAME    [Toc]    [Back]

     vflush - flush vnodes for a mount point

SYNOPSIS    [Toc]    [Back]

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

     int
     vflush(struct mount *mp, struct vnode *skipvp, int flags);

DESCRIPTION    [Toc]    [Back]

     The vflush() function removes any vnodes in the vnode  table
that belong
     to the given mount structure.

     Its arguments are:

     mp             The  mount  point  whose vnodes should be removed.

     skipvp        If this is given, the vnode it represents will
be skipped.

     flags         The flags indicating how vnodes should be handled.

                   FORCECLOSE      If set, busy  vnodes  will  be
forcibly
                                   closed.

                   SKIPSYSTEM       If set, vnodes with the VSYSTEM flag set
                                   will be skipped.

                   WRITECLOSE      If  set,  only  regular  files
currently opened
                                   for writing will be removed.

RETURN VALUES    [Toc]    [Back]

     A  value of 0 is returned if the flush is successful; otherwise, EBUSY
     will be returned.

SEE ALSO    [Toc]    [Back]

      
      
     vgone(9), vgonel(9), vnode(9), vrele(9)

AUTHORS    [Toc]    [Back]

     This  man  page  was  originally  written  by   Chad   David
<[email protected]>
     for FreeBSD.

OpenBSD      3.6                        November     21,     2001
[ Back ]
 Similar pages
Name OS Title
vfs_unbusy FreeBSD unbusy a mount point
vfs_busy FreeBSD marks a mount point as busy
vfs_getvfs FreeBSD returns a mount point given its file system identifier
nwmount IRIX create a mount point for accessing NetWare servers
bdflush Linux start, flush, or tune buffer-dirty-flush daemon
vnode OpenBSD an overview of vnodes
vdevgone OpenBSD revoke all specified minor numbered vnodes for a device
exports Tru64 Defines remote mount points for NFS mount requests
exports OpenBSD define remote mount points for NFS mount requests
exports FreeBSD define remote mount points for NFS mount requests
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service