MirOS Manual: vdevgone(9)

VDEVGONE(9)                   BSD Kernel Manual                    VDEVGONE(9)


     vdevgone - revoke all specified minor numbered vnodes for a device


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

     vdevgone(int maj, int minl, int minh, enum vtype type);


     The vdevgone() function will revoke all the vnodes corresponding to the
     specified minor number range for the device with a major number of maj
     and of type type.

     Its arguments are:

     maj       The major number of the device.

     minl      The lowest minor number for the device to be revoked.

     minh      The highest minor number for the device to be revoked.

     type      The type of the device; this must be one of:

               VBLK      Device is a block device

               VCHR      Device is a character device

     The endpoints specified by minl and minh are inclusive.


     vfinddev(9), vnode(9)


     This man page was originally written for OpenBSD.

MirOS BSD #10-current         February 18, 2002                              1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.