Hm... I see some differences between 2.4.27 and 2.6.9.On Thu, Jan 27, 2005 at 01:55:54 -0800, cranium2003 wrote:
Hello anil,Whatever. You will get at most LOG_BUF_LEN bytes out of dmesg, so it
In kernel/printk.c (2.4.27) it is clearly mentioned that LOG_BUF_LEN must be a power of two. In 2.6.9, any such reference is absent. But even then, since the value of log_buf_mask = log_buf_len - 1, I feel it must be a power of two.
Regards, Om.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/