]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kboot: Disks should be at least 16MB
authorWarner Losh <imp@FreeBSD.org>
Tue, 13 Dec 2022 05:39:03 +0000 (22:39 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 24 Jan 2023 21:49:45 +0000 (14:49 -0700)
commit85d8155e952613e03ab444947405ec0d9183e3b0
treef0f9269bdc069945f3e9e483c2bf986c5418ac8c
parent2b42c3818a68d05da05d2943defcdc653c08c03a
kboot: Disks should be at least 16MB

Linux pre-boot environments will often have a number of psuedo disks
that are small, all smaller than a few MB. 16MB is a good cutoff since
it's big enough to filter these devices, yet small enough to allow a
super-minimal partition through (the smallest I've been able to make
that's useful lately is around 20MB).

Sponsored by: Netflix

(cherry picked from commit 0386255bee079922f00f37eeb4e9e3138b7666c1)
stand/kboot/hostdisk.c