Subject: Re: kern/3815: SCSI probe code output
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 06/30/1997 12:03:29
> >Description:
> [...]

I would really like to see this go in as well:

--- OLD/sys/scsi/sd.c   Thu Jan  1 00:00:00 1970
+++ NEW/sys/scsi/sd.c   Thu Jan  1 00:00:00 1970
@@ -231,9 +231,9 @@
        if (error || sd_get_parms(sd, SCSI_AUTOCONF) != 0)
                printf("drive offline\n");
        else
-               printf("%ldMB, %d cyl, %d head, %d sec, %d bytes/sec\n",
+               printf("%ldMB, %d cyl, %d head, %d sec, %d bytes/sec x %ld sectors\n",
                    dp->disksize / (1048576 / dp->blksize), dp->cyls,
-                   dp->heads, dp->sectors, dp->blksize);
+                   dp->heads, dp->sectors, dp->blksize, dp->disksize);
 }
 
 /*

(presumably with "bytes/sec" changed as Erik suggests).  Especially
with the advent of ZBR disks, where cyls*heads*sectors can be several
megs less than the actual disk size, printing the real disk size is
valuable.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B