[PATCH] ash: add support for history buffer
Dan Fandrich
dan at coneharvesters.com
Wed Jul 13 07:09:22 UTC 2011
On Wed, Jul 13, 2011 at 07:28:37AM +0200, Denys Vlasenko wrote:
> Yes, I think the approach this patch takes is not sustainable.
>
> History is a small file. If your flash fs and hardware can't cope
> even with periodic updates of a small file, then how it copes with
> other real-world cases?
>
> BTW, what about solving it with
> "ln -s /tmp/.ash_history-$USERNAME ~/.ash_history" ?
Or, what about just setting a large buffer on the history file stream
with setbuffer()?
>>> Dan
More information about the busybox
mailing list