Re: [PATCH] add blockconsole version 1.1
From: Borislav Petkov
Date: Thu Jul 19 2012 - 05:26:09 EST
On Wed, Jul 18, 2012 at 05:08:15PM -0400, JÃrn Engel wrote:
> On Wed, 18 July 2012 23:45:21 +0200, Borislav Petkov wrote:
> > > > So why is that first megabyte full of zeros there?
> > >
> > > It gives you some scratch space to store information in.
> > How? By me writing something in that empty line in vim? Or something
> > else storing stuff there?
> Assuming you want to do it in an automated fashion - by patching or
> replacing mkblockconsole. Again, I have no opinion on whether this
> actually makes sense. It is possible, it does not really hurt the
> primary function and people have explicitly asked me for it. Good
> enough for me.
I see. It would be interesting to know what the use cases of those
people are. In any case, this is not an interface since you only have
one-way data movement from kernel to userspace and you can change the
formatting/layout of that data later with no obvious issues, AFAICT.
[ â ]
> Or show off your geekiness by using back ticks:
> $ vi `./bcon_tail`
Uuh, magic. Definitely! :-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/