11 Jul 2012 15:24
CVS: cvs.openbsd.org: src
Kenneth R Westerback <krw <at> cvs.openbsd.org>
2012-07-11 13:24:29 GMT
2012-07-11 13:24:29 GMT
CVSROOT: /cvs Module name: src Changes by: krw <at> cvs.openbsd.org 2012/07/11 07:24:29 Modified files: sbin/fdisk : disk.c Log message: MBR can't handle the truth. When reading disk size/geometry from disklabel, clamp disk size to the maximum number of cylinders that fit into UINT32_MAX sectors. Don't just use the bottom 32 bits of the DL_GETDSIZE(). Warn that truncation has been done.
RSS Feed