K 10 svn:author V 6 kevans K 8 svn:date V 27 2021-10-08T01:20:05.699246Z K 7 svn:log V 374 loader: geli_dev_ioctl does return huge mediasize The DIOCGMEDIASIZE is calculated md->md_sectorsize * md->md_provsize, and for boot disk, the md_sectorsize is 4k. However, the md_provsize is already in units of bytes. (cherry picked from commit 0d1a62068123df267e20530c86d2fc7a4e1aaa2e) Git Hash: 06d16b8e9ba9f1ad0540c54402485081e0dbf93e Git Author: tsoome@FreeBSD.org END