Home
last modified time | relevance | path

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

/titanic_41/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) {
/titanic_41/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()
/titanic_41/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()