Re: how to clear dmesg outpout

2007-07-06 Thread Jose H.
Kernel messages since a certain time and hide the hardware specs from users will be achieved the same way, suppose you have a parameter for dmesg that prints the current buffer and then clears it. I don't think it is a silly knob, in fact it may be the only knob you can have, dmesg holds

Re: how to clear dmesg outpout

2007-07-06 Thread Stuart Henderson
On 2007/07/06 11:12, Jose H. wrote: Also, consider the security factor, you can hide information from users as Stuart pointed out. that is not security, it's obscurity.

Re: how to clear dmesg outpout

2007-07-06 Thread Darren Spruell
On 7/6/07, Jose H. [EMAIL PROTECTED] wrote: Kernel messages since a certain time and hide the hardware specs from users will be achieved the same way, suppose you have a parameter for dmesg that prints the current buffer and then clears it. I don't think it is a silly knob, in fact it may be

Re: how to clear dmesg outpout

2007-07-06 Thread Jacob Yocom-Piatt
Jose H. wrote: Kernel messages since a certain time and hide the hardware specs from users will be achieved the same way, suppose you have a parameter for dmesg that prints the current buffer and then clears it. I don't think it is a silly knob, in fact it may be the only knob you can have,

Re: how to clear dmesg outpout

2007-07-05 Thread Nick Holland
Jose H. wrote: ... On 7/4/07, Nick Guenther [EMAIL PROTECTED] wrote: ... Why do you need to clear the dmesg? I think it is a pretty valid question(request?), you have to relay on external mechanisms, like syslog, or to compare differences from previous outputs of dmesg. and the problem with

Re: how to clear dmesg outpout

2007-07-05 Thread Stuart Henderson
On 2007/07/05 06:42, Nick Holland wrote: Yes, there are benefits to looking at the change in the dmesg. I do NOT like the idea of CLEARING this most valuable resource, however. Whatever you wish to accomplish this way can be easily accomplished in some other way, I think. The OP needs to

how to clear dmesg outpout

2007-07-04 Thread smonek
How to clear kern msg buffer (dmesg output ) without restart system On FreeBSD i have 'sysctl kern.msgbuf_clear' bu OpenBSD don't have this options

Re: Re: how to clear dmesg outpout

2007-07-04 Thread smonek
WiadomoED Oryginalna Od: Timo Schoeler [EMAIL PROTECTED] Do: smonek [EMAIL PROTECTED] Data: 4 lipca 2007 16:00 Temat: Re: how to clear dmesg outpout Thus smonek [EMAIL PROTECTED] spake on Wed, 04 Jul 2007 15:50:52 +0200: How to clear kern msg buffer (dmesg output ) without restart

Re: Re: how to clear dmesg outpout

2007-07-04 Thread smonek
WiadomoED Oryginalna Od: Timo Schoeler [EMAIL PROTECTED] Do: smonek [EMAIL PROTECTED] Data: 4 lipca 2007 16:50 Temat: Re: how to clear dmesg outpout Thus smonek [EMAIL PROTECTED] spake on Wed, 04 Jul 2007 16:40:17 +0200: WiadomoE D Oryginalna Od: Timo Schoeler [EMAIL

Re: how to clear dmesg outpout

2007-07-04 Thread Dimitry Andric
smonek wrote: How to clear kern msg buffer (dmesg output ) without restart system Turn computer off. Breathe out calmly for a few minutes. Turn computer on.

Re: how to clear dmesg outpout

2007-07-04 Thread Timo Schoeler
Thus Dimitry Andric spake: smonek wrote: How to clear kern msg buffer (dmesg output ) without restart system Turn computer off. Breathe out calmly for a few minutes. Turn computer on. maybe /var/run/dmesg.boot can be of help? remember to breath...

Re: how to clear dmesg outpout

2007-07-04 Thread Nick Guenther
On 7/4/07, smonek [EMAIL PROTECTED] wrote: On FreeBSD i have 'sysctl kern.msgbuf_clear' bu OpenBSD don't have this options find a clean one here: /var/run/dmesg.boot HTH, Timo This now work cool! :) sorry not work :-( I think what he's getting at is that

Re: how to clear dmesg outpout

2007-07-04 Thread Jose H.
I think it is a pretty valid question(request?), you have to relay on external mechanisms, like syslog, or to compare differences from previous outputs of dmesg. On HP-UX dmesg has the optional parameter '-' which: system tables overflow or the system crashes). If the - argument is

Re: how to clear dmesg outpout

2007-07-04 Thread Nick Guenther
How is this any worse? On 7/4/07, Jose H. [EMAIL PROTECTED] wrote: I think it is a pretty valid question(request?), you have to relay on external mechanisms, like syslog, or to compare differences from previous outputs of dmesg. On HP-UX dmesg has the optional parameter '-' which: system

Re: how to clear dmesg outpout

2007-07-04 Thread Lars Hansson
Jose H. wrote: I think it is a pretty valid question(request?), you have to relay on external mechanisms, like syslog, or to compare differences from previous outputs of dmesg. Or just look at /var/run/dmesg.boot. Really, what's the point of clearing the buffer? I think it is a feature