Re: /var/cache/fontconfig ??
On Sun, Jun 09, 2013 at 01:02:55AM +0100, Nigel Taylor wrote: On 06/09/13 00:03, Jason McIntyre wrote: On Sat, Jun 08, 2013 at 01:43:45PM -0400, Jiri B wrote: Hello, I haven't found any comment in hier(7) about /var/cache and there seems to be only dir - 'fontconfig'. I'm not sure how this directory was created, probably during install of the xbaseXX set. Shouldn't this in /var/db ? If not, then hier(7) probably needs update. jirib you're correct that it's installed by xbaseXX, and that hier(7) should document it. however, i'm unsure of what its purpose is exactly, so if some kind developer can elaborate, i'll be happy to add an entry (cookie given for succint one line description that i can paste). jmc See fc-cache(1) These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library at application startup to locate appropriate fonts. thanks! (no cookie though) i guess we should properly document cache/fontconfig/, not cache/, but it messes up the formatting and would look weird that we hadn;t documented cache/. so my stab at it below. i also considered Font maps as opposed to just Maps, but i don;t know enough about this stuff. oks/corrections welcome. if not, it'll go in as below. jmc Index: hier.7 === RCS file: /cvs/src/share/man/man7/hier.7,v retrieving revision 1.106 diff -u -r1.106 hier.7 --- hier.7 9 Dec 2012 18:21:44 - 1.106 +++ hier.7 9 Jun 2013 08:33:01 - @@ -569,6 +569,8 @@ .Xr authpf 8 . .It backups/ Miscellaneous backup files. +.It cache/ +Maps for the X11 fontconfig library. .It crash/ Crash dumps written by .Xr savecore 8 .
Re: /var/cache/fontconfig ??
See fc-cache(1) These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library at application startup to locate appropriate fonts. thanks! (no cookie though) i guess we should properly document cache/fontconfig/, not cache/, but it messes up the formatting and would look weird that we hadn;t documented cache/. so my stab at it below. i also considered Font maps as opposed to just Maps, but i don;t know enough about this stuff. oks/corrections welcome. if not, it'll go in as below. jmc Index: hier.7 === RCS file: /cvs/src/share/man/man7/hier.7,v retrieving revision 1.106 diff -u -r1.106 hier.7 --- hier.79 Dec 2012 18:21:44 - 1.106 +++ hier.79 Jun 2013 08:33:01 - @@ -569,6 +569,8 @@ .Xr authpf 8 . .It backups/ Miscellaneous backup files. +.It cache/ +Maps for the X11 fontconfig library. .It crash/ Crash dumps written by .Xr savecore 8 . Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Where would it then end? Including /var/lib and other Linux-specific dirs? jirib
Re: /var/cache/fontconfig ??
Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib
Re: /var/cache/fontconfig ??
On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc
Re: /var/cache/fontconfig ??
On Sun, Jun 09, 2013 at 10:10:06AM +0100, Jason McIntyre wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc A cache holds stuff the is relativey expensive to recompute. If the data is thrown away, it can be regenerated. A db holds data that you generally do not want to throw away. -Otto
Re: /var/cache/fontconfig ??
On 2013-06-09, Jason McIntyre j...@kerhand.co.uk wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc hier(7) on a Linux I have access to says this, Data cached for programs, which seems reasonable..
Re: /var/cache/fontconfig ??
On 2013-06-09, Jiri B ji...@devio.us wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? To me, db implies things which are precious i.e. should be kept/backed-up, whereas cache is things which you would normally want to preserve (so /var/tmp isn't appropriate as this gets cleared automatically) but are less important. Where would it then end? Including /var/lib and other Linux-specific dirs? Linux's /var/lib is pretty much equivalent to our /var/db.
Re: /var/cache/fontconfig ??
2013/6/9 Otto Moerbeek o...@drijf.net On Sun, Jun 09, 2013 at 10:10:06AM +0100, Jason McIntyre wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc A cache holds stuff the is relativey expensive to recompute. If the data is thrown away, it can be regenerated. Is there any real difference with subdir under /var/tmp then? -- WBR, Vadim Zhukov
Re: /var/cache/fontconfig ??
On Sun, Jun 09, 2013 at 11:14:03AM +, Stuart Henderson wrote: On 2013-06-09, Jason McIntyre j...@kerhand.co.uk wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc hier(7) on a Linux I have access to says this, Data cached for programs, which seems reasonable.. at last, a cookie winner! ok? jmc Index: hier.7 === RCS file: /cvs/src/share/man/man7/hier.7,v retrieving revision 1.106 diff -u -r1.106 hier.7 --- hier.7 9 Dec 2012 18:21:44 - 1.106 +++ hier.7 9 Jun 2013 12:36:19 - @@ -569,6 +569,8 @@ .Xr authpf 8 . .It backups/ Miscellaneous backup files. +.It cache/ +Data cached for programs. .It crash/ Crash dumps written by .Xr savecore 8 .
Re: /var/cache/fontconfig ??
On Sun, Jun 9, 2013 at 7:12 AM, Vadim Zhukov persg...@gmail.com wrote: 2013/6/9 Otto Moerbeek o...@drijf.net On Sun, Jun 09, 2013 at 10:10:06AM +0100, Jason McIntyre wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate subdir in /var just because of one specific tool. Wouldn't be better to customize it to use /var/db/fontconfig? Ahh, on other machine there's also 'cups' and 'libvirt' :) jirib in that case my diff is definitely wrong. so i need a general description of what /var/cache is for. jmc A cache holds stuff the is relativey expensive to recompute. If the data is thrown away, it can be regenerated. Is there any real difference with subdir under /var/tmp then? /etc/daily seems to prune files from /var/tmp based on whether they've been accessed in the last 7 days i would first trigger manual prunes to /var/cache and see how programs react -- WBR, Vadim Zhukov
/var/cache/fontconfig ??
Hello, I haven't found any comment in hier(7) about /var/cache and there seems to be only dir - 'fontconfig'. I'm not sure how this directory was created, probably during install of the xbaseXX set. Shouldn't this in /var/db ? If not, then hier(7) probably needs update. jirib
Re: /var/cache/fontconfig ??
On Sat, Jun 08, 2013 at 01:43:45PM -0400, Jiri B wrote: Hello, I haven't found any comment in hier(7) about /var/cache and there seems to be only dir - 'fontconfig'. I'm not sure how this directory was created, probably during install of the xbaseXX set. Shouldn't this in /var/db ? If not, then hier(7) probably needs update. jirib you're correct that it's installed by xbaseXX, and that hier(7) should document it. however, i'm unsure of what its purpose is exactly, so if some kind developer can elaborate, i'll be happy to add an entry (cookie given for succint one line description that i can paste). jmc
Re: /var/cache/fontconfig ??
On 06/09/13 00:03, Jason McIntyre wrote: On Sat, Jun 08, 2013 at 01:43:45PM -0400, Jiri B wrote: Hello, I haven't found any comment in hier(7) about /var/cache and there seems to be only dir - 'fontconfig'. I'm not sure how this directory was created, probably during install of the xbaseXX set. Shouldn't this in /var/db ? If not, then hier(7) probably needs update. jirib you're correct that it's installed by xbaseXX, and that hier(7) should document it. however, i'm unsure of what its purpose is exactly, so if some kind developer can elaborate, i'll be happy to add an entry (cookie given for succint one line description that i can paste). jmc See fc-cache(1) These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library at application startup to locate appropriate fonts.