[Debburn-changes] r625 - cdrkit/trunk/wodim

Eduard Bloch blade at alioth.debian.org
Mon Dec 18 09:44:07 CET 2006


Author: blade
Date: 2006-12-18 09:44:07 +0100 (Mon, 18 Dec 2006)
New Revision: 625

Modified:
   cdrkit/trunk/wodim/scsi_scan.c
Log:
Tell to use -scanbus on non-Linux instead of --devices, and better preamble

Modified: cdrkit/trunk/wodim/scsi_scan.c
===================================================================
--- cdrkit/trunk/wodim/scsi_scan.c	2006-12-16 22:23:59 UTC (rev 624)
+++ cdrkit/trunk/wodim/scsi_scan.c	2006-12-18 08:44:07 UTC (rev 625)
@@ -80,6 +80,7 @@
 	int i, ndevs=0;
 	BOOL have_tgt;
 
+    fprintf(stderr, "Beginning native device scan. This may take a while if devices are busy...\n");
 #ifdef linux
 	for(i=0;i<MAXDEVCOUNT;i++) {
 		if(i<26)
@@ -136,7 +137,11 @@
 		fprintf(stdout, "%s", lines[i]);
 	fprintf(stdout,	"----------------------------------------------------------------------\n");
 
+	return 0;
+
 #endif
+
+    fprintf(stderr, "Native device scanning is not supported on this plattform. Please use -scanbus.\n");
 	return 0;
 }
 




More information about the Debburn-changes mailing list