diff options
author | ivoras <ivoras@FreeBSD.org> | 2010-12-02 19:47:27 +0000 |
---|---|---|
committer | ivoras <ivoras@FreeBSD.org> | 2010-12-02 19:47:27 +0000 |
commit | 904cc72f190967800c699fe0d05d7044b2414147 (patch) | |
tree | 7ccffd8c13a4fc41c36b8824bfab02bac8126307 | |
parent | cb24c2f50724122d243a5125717a8fca365f0e8d (diff) | |
download | FreeBSD-src-904cc72f190967800c699fe0d05d7044b2414147.zip FreeBSD-src-904cc72f190967800c699fe0d05d7044b2414147.tar.gz |
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
-rw-r--r-- | sys/geom/part/g_part_bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part_bsd.c b/sys/geom/part/g_part_bsd.c index 7e75199..95f56da 100644 --- a/sys/geom/part/g_part_bsd.c +++ b/sys/geom/part/g_part_bsd.c @@ -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); |