Add a note about the magic number 20. Actually, 22.75 entries fit in

a 512 byte sector but when choosing magic numbers, 20 looks nicer.

Discussed with:	marcel
This commit is contained in:
Ivan Voras 2010-12-02 19:47:27 +00:00
parent 239169b1e7
commit e5c723f123
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216132

View File

@ -99,7 +99,7 @@ static struct g_part_scheme g_part_bsd_scheme = {
sizeof(struct g_part_bsd_table),
.gps_entrysz = sizeof(struct g_part_bsd_entry),
.gps_minent = 8,
.gps_maxent = 20,
.gps_maxent = 20, /* Only 22 entries fit in 512 byte sectors */
.gps_bootcodesz = BBSIZE,
};
G_PART_SCHEME_DECLARE(g_part_bsd);