Re: RFS (take 2): libbash
On Tue, May 12, 2009 at 11:00 PM, Patrick Matthäi <firstname.lastname@example.org> wrote:
> Hai Zaar schrieb:
>> On Tue, May 12, 2009 at 10:55 PM, Patrick Matthäi <email@example.com>
>>>> Well... does it mean I'll have to create /var/log/dirlocks during boot
>>>> process? If yes, is there any service in Debian that can create
>>>> requested files/dirs on boot? (Please do not tell me that I need to
>>>> write init script to do it :)
>>> Wouldn't it make sense to write those lockfiles to ~/ instead of a
>>> systemwide dir?
>> Some tools that use libbash (my custom app for example), run scripts
>> as system users that do not have valid ~/
> A valid point maybe also /tmp, your /var/lock/dirlocks has currently the
> same functions (meant as permissions) as /tmp.
Sure. But still I need to create /tmp/dirlocks (or better
/var/tmp/dirlocks) on boot. How do I do it?