Home
last modified time | relevance | path

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

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