Searched refs:cdskpath (Results 1 – 1 of 1) sorted by relevance
144 char *cdskpath; in hdisk() local151 if ((cdskpath = (char *)malloc(strlen(drivepfx) + 13)) == NULL) { in hdisk()156 (void) snprintf(cdskpath, strlen(drivepfx) + 13, "/dev/rdsk/%ss2", in hdisk()158 if ((fd = open(cdskpath, O_RDONLY)) == -1) { in hdisk()159 free(cdskpath); in hdisk()169 free(cdskpath); in hdisk()191 drive, cdskpath, bdskpath, vtoc.v_part[2].p_size) >= lastlen) { in hdisk()197 free(cdskpath); in hdisk()