>>  o Is there a way to increase the number of lines of console output that are
>>  "remembered" when you hit Scroll-Lock. Is this the MSGBUF_SIZE parameter?
>>  What would be the consequences of increasing this slightly? e.
>
>The value compiled into the kenrnel is set with SC_HISTORY_SIZE; see LINT or
>syscons(4).  I normally up this to 500.  The problem with that is that syscons
>apparently preallocates all the history memory, for all the virtual consoles. 
>Since MAXCONS defaults to 16, that can be a lot of memory.

This is not true. syscons does not reserve history buffers beforehand.
It allocates a buffer for a vty when the vty is first opened.  The
history buffer for the first vty (/dev/ttyv0) gets slightly different
treatment; it is allocated as soon as syscons can allocate kernel
memory via malloc().  In any case, setting a large value to
SC_HISTORY_SIZE shouldn't immediately bloat the kernel.

Kazu

>Perhaps a modest increase in the default SC_HISTORY_SIZE, but with sysinstall
>doing a CONS_HISTORY ioctl to increase the value on just the first vty?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to