Re: [RFC] persistent store

From: Tony Luck
Date: Mon Nov 22 2010 - 22:10:59 EST


On Mon, Nov 22, 2010 at 5:37 PM, Tony Luck <tony.luck@xxxxxxxxx> wrote:
> Yes - I assume here that the last "data_size" bytes will be enough
> to be useful. But in your case it most likely won't be.  You could
> lie about how much space you allow and then include some oops
> parsing code to get the vital bits out of what is passed to you. Not
> pretty - but it would work. If there are many such devices with limited
> capacity, then it would make sense to include this parsing code
> in this generic layer.

Sorry - finding the good bits from the console log is architecture
dependent ... so it can't be done (easily) in the generic code.

-Tony
--
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/