bug-bash
[Top][All Lists]
Advanced

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

Re: Feature request: Can bash provide some mechanism for locking/unlocki


From: Jan Schampera
Subject: Re: Feature request: Can bash provide some mechanism for locking/unlocking?
Date: Fri, 16 Apr 2010 07:00:17 +0200
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

Clark J. Wang schrieb:

> And if the script crashes the dir will be left unlocked.

System crashes and kill -9 are the problem. The rest is none.

If the area isn't too complex, noclobbered redirection serves well. But
if you have other options, they should be used, of course.

(doing this on a cluster with a shared fs - does like a charm)



J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]