Re: kdump -f -

2018-12-12 Thread Ted Unangst
Klemens Nanni wrote: > On Tue, Dec 11, 2018 at 10:31:37PM -0500, Ted Unangst wrote: > > I have some trace files that are gzipped to save space. (They compress > > really > > well.) It would be convenient if I could simply zcat them into kdump for > > inspection. > F

Re: kdump -f -

2018-12-12 Thread Klemens Nanni
On Tue, Dec 11, 2018 at 10:31:37PM -0500, Ted Unangst wrote: > I have some trace files that are gzipped to save space. (They compress really > well.) It would be convenient if I could simply zcat them into kdump for > inspection. FWIW I've always used `kdump -f/dev/stdin' for

Re: kdump -f -

2018-12-11 Thread Theo de Raadt
ok deraadt

kdump -f -

2018-12-11 Thread Ted Unangst
I have some trace files that are gzipped to save space. (They compress really well.) It would be convenient if I could simply zcat them into kdump for inspection. This patch allows -f - to read from stdin. (Curiously, kdump always reads from stdin, but uses freopen on the trace file.) Unsure abou