vdevgone(9)
Canonical URL: /vdevgone.9/
VDEVGONE(9)
Kernel Developer's Manual
VDEVGONE(9)
NAME
vdevgone —
revoke all specified minor numbered
vnodes for a device
SYNOPSIS
#include
<sys/param.h>
#include <sys/vnode.h>
void
vdevgone(int maj,
int minl, int minh,
enum vtype type);
DESCRIPTION
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:
The endpoints specified by minl and minh are inclusive.
SEE ALSO
HISTORY
This man page was originally written for OpenBSD.
OpenBSD 7.9
November 14, 2020
VDEVGONE(9)
Need conceptual guidance? Continue in the OpenBSD Handbook.