[Voyage-linux] Using the FS
Jordi Soucheiron
(spam-protected)
Mon Aug 23 16:46:50 HKT 2010
I have a file in /etc/cron.hourly like this:
#!/bin/bash
/etc/init.d/voyage-sync sync
*Jordi Soucheiron*
Software Engineer
*DEXMA*
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 181 01 96
www.dexmatech.com
jsoucheiron at dexmatech.com
2010/8/20 Robert <Robert at supporttime.com>
> Hey Jordi,
>
> Thanks for your tip! That sounds like a great solution to the problem and
> will work perfectly for me!
>
> I don't suppose you have an example of the script you can share with me?
>
> And i assume you are scheduling the script hourly with cron?
>
> Thanks mate.
>
> Rob
>
> Sent from my iPhone
>
> On 20 Aug 2010, at 07:39, Jordi Soucheiron <jsoucheiron at dexmatech.com>
> wrote:
>
> Hi Robert,
> I had a similar problem. What I did is to make a script that syncs the tmp
> and the real fs every hour. This way if data gets lost only the last hour of
> data is erased (that was enough for my application)
>
> 2010/8/19 Punky Tse < <punkytse at punknix.com>punkytse at punknix.com>
>
>> Hi Robert,
>>
>> My suggestion would be looking into /etc/init.d/voyage-sync and
>> /etc/default/voyage-util
>>
>> Regards,
>> Punky
>>
>>
>> On 19/8/2010 20:43, Robert wrote:
>>
>>> Hello Guys,
>>>
>>> I hope you are all well. It’s been quite some time since I’ve done any
>>> work with Voyage but I now have a new project which it’ll suit perfectly.
>>>
>>> I see we’re now running a stable release of 0.6.5 which appears to have a
>>> bunch of changes to the way the FS is handled.
>>>
>>> The application in question writes to a few files which will need to be
>>> maintained on the disk in the event of a reboot / power-loss.
>>>
>>> What is the best way to achieve this?
>>>
>>> Thanks,
>>>
>>> Robert
>>>
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> <Voyage-linux at list.voyage.hk>Voyage-linux at list.voyage.hk
>>> <http://list.voyage.hk/mailman/listinfo/voyage-linux>
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> <Voyage-linux at list.voyage.hk>Voyage-linux at list.voyage.hk
>> <http://list.voyage.hk/mailman/listinfo/voyage-linux>
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100823/c5ab10b9/attachment.html>
More information about the Voyage-linux
mailing list