[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: monitoring network filesystem
From: |
Jan-Henrik Haukeland |
Subject: |
Re: monitoring network filesystem |
Date: |
Fri, 09 Jul 2010 17:54:16 +0200 |
On 9. juli 2010, at 17.42, Martin Pala wrote:
> check file with path /path/to/netfs/lost+found
> if failed existence for 5 cycles then exec "/path/to/scripts/mount.sh"
I must say I like Aleksander's "if does not exist" version much better than;
"if failed existence" which sounds like an excerpt from Nietzsche's work on
existentialism.
> On Jul 8, 2010, at 1:56 PM, Aleksander Kamenik wrote:
>
>> Something like this would be perfect (I don't care about content, so the
>> lost+found folder is a great choice in my case):
>>
>> check folder lost+found path /path/to/netfs/lost+found
>> if does not exist then exec "/path/to/scripts/mount.sh"
>