Home
last modified time | relevance | path

Searched refs:volume_label (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c95 char volume_label[PC_LABEL_SIZE + 1]; member
348 (void) memcpy(h->volume_label, PC_LABEL_ADDR(h), PC_LABEL_SIZE); in get_label()
349 h->volume_label[PC_LABEL_SIZE] = '\0'; in get_label()
488 (void) memcpy(h->volume_label, d->pcd_filename, in dir_find_label()
490 h->volume_label[PC_LABEL_SIZE] = '\0'; in dir_find_label()
546 (void) fprintf(fout, "Volume Label: %s\n", h->volume_label); in dumpfs()
618 ADD_STRING(h, "volume_label", h->volume_label); in get_attr()
634 ADD_STRING(h, "gen_volume_label", h->volume_label); in get_attr()
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c313 const char *volume_label = NULL; in rmm_print_nicknames_one() local
330 ((volume_label = libhal_volume_get_label(v)) != NULL) && in rmm_print_nicknames_one()
331 (strlen(volume_label) > 0)) { in rmm_print_nicknames_one()
332 (void) printf("%s%s", comma ? "," : "", volume_label); in rmm_print_nicknames_one()
1072 char *volume_label; in rmm_volume_aa_from_prop() local
1110 if ((volume_label = (char *)libhal_device_get_property_string(hal_ctx, in rmm_volume_aa_from_prop()
1112 if ((len = strlen(volume_label)) > 0) { in rmm_volume_aa_from_prop()
1114 volume_label, len); in rmm_volume_aa_from_prop()
1120 libhal_free_string(volume_label); in rmm_volume_aa_from_prop()
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c355 const char *volume_label; in libhal_volume_policy_compute_display_name() local
360 volume_label = libhal_volume_get_label (volume); in libhal_volume_policy_compute_display_name()
370 if (volume_label != NULL) { in libhal_volume_policy_compute_display_name()
371 name = strdup (volume_label); in libhal_volume_policy_compute_display_name()
721 char *volume_label; /* may be NULL, is never "" */ member
825 libhal_free_string (vol->volume_label); in libhal_volume_free()
1147 LIBHAL_PROP_EXTRACT_STRING ("volume.label", vol->volume_label); in libhal_volume_from_udi()
1640 return volume->volume_label; in libhal_volume_get_label()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h142 uchar_t volume_label[11]; member
H A Dpcfs_common.c250 (void) strncpy((char *)wbpb->ebpb.volume_label, (char *)grabp, 11); in swap_pack_grabbpb()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_pcfs.h137 uchar_t volume_label[11]; member
H A Dmkfs.c1650 (void) strncpy((char *)fillp, (char *)wbpb->ebpb.volume_label, 11); in swap_pack_bpbcpy()
1691 (void) strncpy((char *)fillp, (char *)wbpb->ebpb.volume_label, 11); in swap_pack_bpb32cpy()
1748 (void) strncpy((char *)wbpb->ebpb.volume_label, (char *)grabp, 11); in swap_pack_grabbpb()
2061 ll = min(11, (int)strlen((char *)wbpb->ebpb.volume_label)); in print_reproducing_command()
2068 while (wbpb->ebpb.volume_label[--i] == ' ') in print_reproducing_command()
2078 toupper((int)(wbpb->ebpb.volume_label[i]))) { in print_reproducing_command()
2090 (void) printf("%c", wbpb->ebpb.volume_label[i]); in print_reproducing_command()
2689 wbpb->ebpb.volume_label[i] = toupper(lbl[i]); in label_volume()
2692 wbpb->ebpb.volume_label[i] = ' '; in label_volume()