Subject: Re: CVS commit: src
To: None <current-users@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 08/15/1998 10:19:53
>> printf("%s: %dMB, %d cyl, %d head, %d sec, %d bytes/sect x %d sectors", ...)
>> printf("%s: %dMB, %d sec, geom chs %d/%d/%d, %d bytes/sec\n", ...)
>> I can't see any reason to not have the same format for scsi and ata
>> drives.
> Right, both ata and scsi drives should report this info and the
> printout should be the same! I've always thought the scsi version
> was a bit verbose. Lets see what the comunity thinks and then adjust
> them both.
If this is a vote, I vote for the SCSI version. If you want something
more abbreviated, I'd go for
%s: %dMB, %dx%dx%d, %dx%d
(with the (conceptual) arglist: name, (sect_count*sect_size)/1048576,
cyl_count, tracks_per_cyl, sects_per_track, sect_count, sect_size).
But that is sufficiently abbreviated that it could be *too* brief.
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B