It is useful to keep SC_HISTORY_SIZE value high, however it costs kernel memory. So in order to share the same kernel between machines with big and not-so-big RAM, one should be able to tune the size of back scroll buffer. The attached patch makes it possible via the loader tunable hw.syscons.history_size. Patch works with today's RELENG_8, it also applies to HEAD (and should work there, since schistory.c is the same in HEAD and RELENG_8 except __FBSDID line).
Fix: Patch attached with submission follows:
The patch has been updated for schistory.c,v 22.214.171.124 (current version in
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped