[Olsr-dev] olsrd debian update

Hans-Christoph Steiner (spam-protected)
Wed Jun 6 19:09:19 CEST 2012

On 06/06/2012 12:09 PM, Ferry Huberts wrote:
> On 06-06-12 17:48, Ferry Huberts wrote:
>> On 06-06-12 17:44, Henning Rogge wrote:
>>> On Wed, Jun 6, 2012 at 5:42 PM, Ferry Huberts<(spam-protected)> wrote:
>>>> PUD: position file
>>>> sgwdynspeed: speed file
>>> Not sure they would be considered as configuration file, they are more
>>> some temporary information channels (and most times would not be in
>>> /etc at all but in /tmp). ^^
>>> Henning
>> I can easily move them somewhere else.
>> Most likely somewhere like /var/run/olsrd
> adjusting code now to move these files into /usr/share/olsrd (these
> files are example files)
>> Acceptable?

If these files are read-only, static data files they should be in
/usr/share/olsrd.  If they are updated at runtime, then something like
/var/lib or /var/cache would be more appropriate.  /var/cache is stuff
that is just cached and can be recreated.  /var/lib is stuff that
represents the state of the app.  DHCP leases go into /var/lib for
example, and downloaded packages go into /var/cache.


More information about the Olsr-dev mailing list