Searched refs:raw_device (Results 1 – 3 of 3) sorted by relevance
146 char raw_device[MAXPATHLEN]; local155 (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) {
1080 char raw_device[MAXPATHLEN]; in check_mount() local1095 (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()
494 char raw_device[PATH_MAX]; in check_and_unmount_floppy() local515 (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()