K 10 svn:author V 7 delphij K 8 svn:date V 27 2018-08-04T14:13:09.260841Z K 7 svn:log V 357 In r337271, we limited the sector number to the lower of calculated number and CHS based number. However, on some systems, BIOS would report 0 in CHS fields, making the system to think there is 0 sectors. Add a check before comparing the calculated total with bd_sectors. Reviewed by: tsoome, cy Differential Revision: https://reviews.freebsd.org/D16577 END