[PATCH] 2/2: Associate file locations to newly introduced path variables

Christian Perrier bubulle at debian.org
Sun Oct 14 12:28:53 GMT 2007

This patch switches the 3.2.0pre1 sources to use newly introduced variables in

It is part of the Debian patches that make the Debian packages follow
the Debian policy (indeed the FHS).

The point is doing the following associations:

- discardable cache data (browse.dat, printers.tbd, <printer>.tdb...)
  go to cachedir
- non discardable state data (all TDB files that may need to be backed
  up) go to statedir
- shared data (codepage stuff) go to codepagedir

The patch *does not change* the default location for these
directories. So, there is no behaviour change when applying it.

The main change is for samba developers who have to think when dealing
with files that previously pertained to libdir whether they:
- go in cachedir
- go in statedir
- go in codepagedir
- stay in libdir

Of course, newly introduced files in the future will need discussion
about the most appropriate place. That could require changes to the
developers documentation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fhs-filespaths.patch
Type: text/x-diff
Size: 23538 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071014/f284751f/fhs-filespaths.bin

More information about the samba-technical mailing list