Searched refs:raw_device (Results 1 – 3 of 3) sorted by relevance
131 char raw_device[MAXPATHLEN]; in getpartition() local140 (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()
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()