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. Sponsored by: Netflix, Klara Inc. |
||
---|---|---|
.. | ||
geli_metadata.c | ||
geliboot_crypto.c | ||
geliboot_internal.h | ||
geliboot.c | ||
geliboot.h | ||
gelidev.c | ||
Makefile.inc | ||
pwgets.c |