> Well, like I've mentioned before, this is Really Easy with SCSI.
> However, having an hp300, I do indeed realize that All The World's Not
> SCSI. What I'd duggest is a new ioctl (DIOCGGEOM maybe?) that would be
> implemented in the individual drivers, like the disklabel-related ones
> are, which fills in a structure like the following:
>
> struct disk_geom {
> u_int32_t dg_ncyl; /* cylinders per unit */
> u_int32_t dg_ntrk; /* tracks per cyl */
> u_int32_t dg_nblk; /* blocks per unit */
> u_int32_t dg_blksz; /* bytes per block */
> };
why use fixed-size types, if it's not going to live on disk?
chris