copy_devinfo
static int copy_devinfo(const char *, const char *, uint_t,
if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) {