Dan Widyono on 14 Sep 2007 19:07:31 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Bash History question


No love on RHEL4U4: bash-3.0-19.2.src.rpm's readline does not do any
locking on history writes. :(

Dan W.

> Except...  Something I had not considered before--I don't know if there 
> is any kind of locking going on here.  So a $PROMPT_COMMAND or NFS share 
> might result in .bash_history file corruption due to collisions.  I 
> guess if you are doing the manual thing over NFS you'd be OK unless you 
> have a lot of latency someplace and try to do it too fast.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug