On 08/17/16 17:05, Dag-Erling Smørgrav wrote:
Hans Petter Selasky <h...@selasky.org> writes:
Not sure if it is an issue, but what will happen if a magic disk has a
size less than 4K and uses a block size of 512bytes and the disk
alignment gets rounded up to 4K. Will any of logic in this patch fail
or hang?

What is a magic disk, and why would you want to install FreeBSD on a
drive with less than 4096 bytes available?


Hi,

My intention is not to install FreeBSD on a 3K disk. My question is pure mathematical, if the bsdinstall will segfault, division by zero or anything like that, if one should try to install FreeBSD on a 3K disk, because you round up the size of the disk to be bigger than it actually is.

Should there be a check for too small disks in there?

--HPS
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to