That wasn't quite what I meant. I was referring to SCSI commands that are sent to the device that return info that would be usable as the number of heads and cylinders.
But I guess faking them like the ah[abc] drivers do will work, as this is what many systems are already running with. Nick > See XPT_CALC_GEOMETRY in /sys/dev/aic7xxx/aic7xxx_osm.c > > On Mon, 4 Nov 2002, Nick Hibma wrote: > > Let's work on the 'proper' solution first. > > > > What SCSI commands are suitable for getting the geometry, generically > > on a device? > > > > Nick > > > > > fdisk likely should do something sane in the face of such insanity, > > > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > > > > > Warner > > > > > -- [EMAIL PROTECTED] http://www.van-laarhoven.org/ [EMAIL PROTECTED] http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message