Searched refs:raw_device (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c146 char raw_device[MAXPATHLEN]; local
155 (void) strcpy(raw_device, "/dev/r");
156 (void) strcat(raw_device, pathname + strlen("/dev/"));
161 if ((mfd = open(raw_device, O_RDWR | O_NDELAY)) < 0) {
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c494 char raw_device[PATH_MAX]; local
515 (void) strcpy(raw_device, "/dev/r");
516 (void) strcat(raw_device, mp->mnt_special + strlen("/dev/"));
526 mfd = open(raw_device, O_RDWR | O_NDELAY);
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1080 char raw_device[MAXPATHLEN]; local
1095 (void) strcpy(raw_device, "/dev/r");
1096 (void) strcat(raw_device, mp->mnt_special + strlen("/dev/"));
1101 if ((mfd = open(raw_device, O_RDWR | O_NDELAY)) < 0) {

Completed in 67 milliseconds