Lines Matching defs:found

408 vol_name_to_dev_node(char *vname, char *found)
427 (void) snprintf(found, PATH_MAX, "%s/s%d", p1, i);
428 if (access(found, F_OK) >= 0)
436 (void) strlcpy(found, p1, PATH_MAX);
446 * returns the path found in 'found' and returns 1. Otherwise returns 0.
449 lookup_device(char *supplied, char *found)
459 (void) strlcpy(found, supplied, PATH_MAX);
480 (void) strlcpy(found, supplied, PATH_MAX);
496 (void) strlcpy(found, tmpstr, PATH_MAX);
503 return (vol_name_to_dev_node(supplied, found));
546 * returns the number of writers or CD/DVD-roms found and the path of
547 * the first device found depending on the mode argument.
549 * SCAN_ALL_CDS Scan all CD/DVD devices. Return first CD-RW found.
550 * SCAN_WRITERS Scan all CD-RW devices. Return first one found.
551 * SCAN_LISTDEVS List all devices found.
554 scan_for_cd_device(int mode, cd_device **found)
599 *found = t_dev;
603 (total_devices_found == 1) && found) {
605 /* We found a CD-ROM or DVD-ROM */
606 *found = t_dev;
626 if ((found != NULL) && ((*found) != t_dev))
787 "No CD writers found, no media in the drive "
796 err_msg(gettext("No CD writers found.\n"));
815 (void) printf("CD-ROM found\n");
827 (void) printf("CD-R found\n");
839 (void) printf("DVD-ROM found\n");
845 (void) printf("CD-RW found\n");
851 (void) printf("DVD-R found\n");
857 (void) printf("DVD-RAM found\n");
865 (void) printf("DVD-RW found\n");
872 (void) printf("DVD-R DL found\n");
878 (void) printf("DVD-RW DL found\n");
884 (void) printf("DVD+RW found\n");
891 (void) printf("DVD+R found\n");
897 (void) printf("DVD+RW DL found\n");
903 (void) printf("DVD+R DL found\n");
910 "unknown drive found\n type = 0x%x",