CVSROOT: /cvs Module name: src Changes by: [email protected] 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.
