Re: dmesg command
Svante Signell, le Wed 02 Nov 2011 00:22:37 +0100, a écrit :
> On Tue, 2011-11-01 at 23:05 +0100, Samuel Thibault wrote:
> > Svante Signell, le Mon 31 Oct 2011 19:42:34 +0100, a écrit :
> > > What about creating a script dmesg doing similar to the following (save
> > > for syntax errors) :
> > >
> > > if [ "$1" == "-s" ]; then
> >
> > Making the dmesg behavior change according to being passed -s or not
> > would be even more convoluted, I really don't think we want to go that
> > way. Either we manage to provide a dmesg which behaves similarly to
> > others, or we don't and tools have to cope with it. apt could use
> > /var/log/kern.log instead for instance.
>
> Exchanging the condition is a better alternative, see my next posting on
> this issue.
Err, no, it just inverts the convolution :)
> In reality, who has the time to write a proper dmesg command for
> GNU/Hurd?
Whoever believes it's important. It does not necessarily matter whether
it happens now or in 10 years.
> So you think requesting a patch for apt in experimental is considered
> a better alternative, knowing the delays of Debian maintainers.
I believe so.
> Or are you thinking upstream?
Upstream would eventually need a dmesg too. It's however not a simple
thing to ship, considering the "eat" nature of /dev/klog.
Samuel
Reply to: