vdev_verify_unique()

Assert that a vdev of the same type does not already exist

Synopsis:

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

Arguments:

vdp
A pointer to the vdev to check.

Description:

This function checks whether a vdev of the same type exists and if so, terminates the qvm process.

Page updated: