Lines Matching defs:bootfs
388 * Check if the bootfs name has the same pool name as it is set to.
389 * Assuming bootfs is a valid dataset name.
392 bootfs_name_valid(const char *pool, char *bootfs)
396 if (!zfs_name_valid(bootfs, ZFS_TYPE_FILESYSTEM|ZFS_TYPE_SNAPSHOT))
399 if (strncmp(pool, bootfs, len) == 0 &&
400 (bootfs[len] == '/' || bootfs[len] == '\0'))
409 char bootfs[ZFS_MAX_DATASET_NAME_LEN];
411 return (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs,
412 sizeof (bootfs), NULL, B_FALSE) == 0 && strncmp(bootfs, "-",
413 sizeof (bootfs)) != 0);
535 * bootfs property value has to be a dataset name and