[vdr] Why use /var/lib/vdr?
Hi All, I have build VDR systems based on arch linux and debian. On both, one half of the configuration files in is /etc/vdr, the other half in /var/lib/vdr. Why has the location /var/lib/vdr been choosen for the configuration files? Best regards, Cedric ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Why use /var/lib/vdr?
Hi, files that are managed by services directly usually go into /var/lib/SERVICE/, e.g. channels.conf is updated automatically or when you shuffle channels in menu. Files that are meant to be edited by root go into /etc. The configuration files in /etc are readonly to non-root users/services. Cya, Ed "cedric.dew...@telfort.nl" schrieb: >Hi All, >I have build VDR systems based on arch linux and debian. On both, one >half of the configuration files in is /etc/vdr, the other half in >/var/lib/vdr. >Why has the location /var/lib/vdr been choosen for the configuration >files? >Best regards, >Cedric > > > > >___ >vdr mailing list >vdr@linuxtv.org >http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Why use /var/lib/vdr?
Am 11.12.2013 18:55, schrieb cedric.dew...@telfort.nl: > Hi All, > > I have build VDR systems based on arch linux and debian. On both, one > half of the configuration files in is /etc/vdr, the other half in > /var/lib/vdr. > Why has the location /var/lib/vdr been choosen for the configuration > files? That is not true. Configuration-Files are only in /etc/vdr. What you can see in /var/lib/vdr are data files. Configuration files are only modified by root and never by the application. The files in /var/lib/vdr are modified by the vdr. Gerald !DSPAM:52a8b97950221956011510! ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Why use /var/lib/vdr?
Hi Cedric, Am Mittwoch, den 11.12.2013, 18:55 +0100 schrieb > I have build VDR systems based on arch linux and debian. On both, one > half of the configuration files in is /etc/vdr, the other half > in /var/lib/vdr. > Why has the location /var/lib/vdr been choosen for the configuration > files? i guess you are using a Debian based distribution!? In Debian we (the Debian VDR Team [1]) decided to use these paths about 10 years ago to comply with the Filesystem Hierarchy Standard (FHS) [2] as much as possible. One of the requirements of the FHS is that it must be possible to mount /etc read-only, and this alone would not work with VDR because VDR modifies some of its config-files by itself during runtime (channels.conf is the best example i guess), for convenience we decided to add symlinks from /etc/vdr to to the files which are placed in /var/lib/vdr, so you basically will find all important cfgfiles in /etc/vdr/ but some of them are just symlinks to /var/lib/vdr/. [1] https://alioth.debian.org/projects/pkg-vdr-dvb/ [2] http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Regards, Thomas -- Thomas Schmidt, Debian VDR Team http://pkg-vdr-dvb.alioth.debian.org/ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr