/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_001_pos.ksh | 81 typeset diskname=${disk#/dev/} 85 pooldevs="${diskname}p1 \ 86 /dev/${diskname}p1 \ 87 \"${diskname}p1 ${diskname}p2\" \ 89 raidzdevs="\"/dev/${diskname}p1 ${diskname}p2\" \ 90 \"${diskname}p1 ${diskname}p2 ${diskname}p3\" \ 91 \"${diskname}p1 ${diskname}p2 ${diskname}p3 \ 92 ${diskname}p4\"\
|
/freebsd/sys/geom/raid/ |
H A D | md_jmicron.c | 1031 const char *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_jmicron() local 1079 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_jmicron() 1080 if (diskname == NULL) { in g_raid_md_ctl_jmicron() 1085 if (strcmp(diskname, "NONE") == 0) { in g_raid_md_ctl_jmicron() 1090 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_jmicron() 1093 diskname); in g_raid_md_ctl_jmicron() 1260 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_jmicron() 1261 if (diskname == NULL) { in g_raid_md_ctl_jmicron() 1266 if (strncmp(diskname, _PATH_DEV, 5) == 0) in g_raid_md_ctl_jmicron() 1267 diskname += 5; in g_raid_md_ctl_jmicron() [all …]
|
H A D | md_nvidia.c | 1035 const char *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_nvidia() local 1083 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_nvidia() 1084 if (diskname == NULL) { in g_raid_md_ctl_nvidia() 1089 if (strcmp(diskname, "NONE") == 0) { in g_raid_md_ctl_nvidia() 1094 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_nvidia() 1097 diskname); in g_raid_md_ctl_nvidia() 1265 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_nvidia() 1266 if (diskname == NULL) { in g_raid_md_ctl_nvidia() 1271 if (strncmp(diskname, _PATH_DEV, 5) == 0) in g_raid_md_ctl_nvidia() 1272 diskname += 5; in g_raid_md_ctl_nvidia() [all …]
|
H A D | md_sii.c | 1119 const char *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_sii() local 1167 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_sii() 1168 if (diskname == NULL) { in g_raid_md_ctl_sii() 1173 if (strcmp(diskname, "NONE") == 0) { in g_raid_md_ctl_sii() 1178 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_sii() 1181 diskname); in g_raid_md_ctl_sii() 1347 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_sii() 1348 if (diskname == NULL) { in g_raid_md_ctl_sii() 1353 if (strncmp(diskname, _PATH_DEV, 5) == 0) in g_raid_md_ctl_sii() 1354 diskname += 5; in g_raid_md_ctl_sii() [all …]
|
H A D | md_promise.c | 1269 const char *nodename, *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_promise() local 1319 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_promise() 1320 if (diskname == NULL) { in g_raid_md_ctl_promise() 1325 if (strcmp(diskname, "NONE") == 0) in g_raid_md_ctl_promise() 1332 diskname) == 0) in g_raid_md_ctl_promise() 1338 "wrong state (%s).", diskname, in g_raid_md_ctl_promise() 1347 diskname, pd->pd_subdisks); in g_raid_md_ctl_promise() 1363 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_promise() 1366 diskname); in g_raid_md_ctl_promise() 1601 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_promise() [all …]
|
H A D | md_intel.c | 1698 const char *nodename, *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_intel() local 1747 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_intel() 1748 if (diskname == NULL) { in g_raid_md_ctl_intel() 1753 if (strcmp(diskname, "NONE") == 0) { in g_raid_md_ctl_intel() 1758 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_intel() 1761 diskname); in g_raid_md_ctl_intel() 1787 diskname); in g_raid_md_ctl_intel() 2199 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_intel() 2200 if (diskname == NULL) { in g_raid_md_ctl_intel() 2205 if (strncmp(diskname, _PATH_DEV, 5) == 0) in g_raid_md_ctl_intel() [all …]
|
H A D | md_ddf.c | 2258 const char *nodename, *verb, *volname, *levelname, *diskname; in g_raid_md_ctl_ddf() local 2308 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_ddf() 2309 if (diskname == NULL) { in g_raid_md_ctl_ddf() 2314 if (strcmp(diskname, "NONE") == 0) in g_raid_md_ctl_ddf() 2321 diskname) == 0) in g_raid_md_ctl_ddf() 2327 "wrong state (%s).", diskname, in g_raid_md_ctl_ddf() 2337 diskname); in g_raid_md_ctl_ddf() 2352 cp = g_raid_open_consumer(sc, diskname); in g_raid_md_ctl_ddf() 2355 diskname); in g_raid_md_ctl_ddf() 2612 diskname = gctl_get_asciiparam(req, arg); in g_raid_md_ctl_ddf() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_pool_os.c | 101 char diskname[MAXPATHLEN]; in read_efi_label() local 107 (void) snprintf(diskname, sizeof (diskname), "%s%s", DISK_ROOT, in read_efi_label() 109 if ((fd = open(diskname, O_RDONLY|O_DIRECT|O_CLOEXEC)) >= 0) { in read_efi_label()
|
/freebsd/tools/regression/zfs/ |
H A D | misc.sh | 208 diskname=`eval ${cmd}` 210 if [ "${diskname}" = "losetup: could not find any free loop device" ]; then 218 diskname=`${cmd}` || die "failed: ${cmd}" 220 DISKNAME=`eval echo ${diskname} | sed 's/^\/dev\///'`
|
/freebsd/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 636 typeset diskname=$1 637 [ ! -e $diskname ] && log_fail "ERROR: $diskname doesn't exist" 638 if gpart list ${diskname#/dev/} >/dev/null 2>&1; then 639 wait_for 5 1 $GPART destroy -F $diskname 641 log_note "No GPT partitions detected on $diskname" 643 log_must $GPART create -s gpt $diskname 2504 typeset diskname=$1 2507 guid=$($ZDB -l ${diskname} | ${AWK} '/^ guid:/ {print $2}' | head -1)
|
/freebsd/sbin/tunefs/ |
H A D | tunefs.c | 82 char *diskname; in main() local 547 diskname = strdup(disk.d_name); in main() 549 chkdoreload(getmntpoint(diskname), warnx); in main()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | amigaos | 121 # name_len; volume name length; diskname[30]; volume name
|
/freebsd/stand/common/ |
H A D | help.common | 409 unmap-vdisk diskname
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | libtest.shlib | 798 typeset diskname=$1 802 gpart destroy -F $diskname 804 DSK=$DEV_DSKDIR/$diskname 812 log_must set_partition $i "" 0mb $diskname
|