Lines Matching defs:rdsk
71 static void dsk2rdsk(char *dsk, char *rdsk, int size);
133 /* dp->name is /dev/dsk, need to convert back to /dev/rdsk */
228 /* dp->name is /dev/dsk, need to convert back to /dev/rdsk */
289 /* convert rdsk paths to dsk paths */
291 slice_rdsk2dsk(char *rdsk, char *dsk, int size)
295 (void) strlcpy(dsk, rdsk, size);
297 if ((strp = strstr(dsk, "/rdsk/")) == NULL) {
298 /* not rdsk, check for floppy */
303 strp++; /* move ptr to the r in rdsk or rdiskette */
361 /* convert dsk paths to rdsk paths */
363 dsk2rdsk(char *dsk, char *rdsk, int size)
368 (void) strlcpy(rdsk, dsk, size);
376 if ((slashp = strstr(rdsk, "/dsk/")) == NULL) {
378 slashp = strstr(rdsk, "/diskette");
384 endp = rdsk + len; /* point to terminating 0 */