Explicitly extract the sector size for the underlying media. This solves
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Aug 2007 17:08:34 +0000 (17:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Aug 2007 17:08:34 +0000 (17:08 +0000)
commitf946e8c127593bfa0cd700697e9fa2f27c3bf84d
tree827041afc1229326d1fadecc00f53adcc1958240
parent0aaeafb612b13fe48ebe63736ca5d51152451631
Explicitly extract the sector size for the underlying media.  This solves
some, but not all of the issues related to running fdisk on media with a
sector size greater then 512 bytes.  Still unaddressed is what to do about
the 512-byte MBR.

Reported-by: "Dennis den Brok" <d.den.brok@uni-bonn.de>
sbin/i386/fdisk/fdisk.c