vdev_verify_unique()

Check whether a vdev of the same type already exists

Synopsis:

#include <qvm/vdev-core.h>
void vdev_verify_unique(const vdev_t *vdp)

Arguments:

vdp
A pointer to the vdev to check.

Library:

Provided by qvm; no external library is required.