OpenBSD manual page server

Manual Page Search Parameters

VDEVGONE(9) Kernel Developer's Manual VDEVGONE(9)

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:

The major number of the device.
The lowest minor number for the device to be revoked.
The highest minor number for the device to be revoked.
The type of the device; this must be one of:
Device is a block device
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.
June 4, 2013 OpenBSD-current