On 7/27/07, Curt, WE7U
On Fri, 27 Jul 2007, Keith Roberts wrote:
A standard place to place it would be in /etc, as a text file called yourappname.data, or even under it's own subdirectory, where you could also add a runtime configuration file for your application, called for example, /etc/yourappname/yourapp.conf .
Perhaps stick to the conventions listed in the FHS?
Even with that spec. there is not really a general answer. At least not one I see. Based on experience only, people mostly do one of two things: A) create there own directory / partition / mount point in the root if there is going to be a lot of data. This is particularly true if it is gone to be a main function of the computer. ie. /data, /GIS-info, /source-code-for-our-teams-mega-application etc. B) if there is not going to be enough data to justify that, I believe most Linux apps are using /var/lib/<appname> Sort of a strange place. I always expect /var/lib to have libraries or shared libraries in it like /lib and /usr/lib, but take a look. I don't think you will find any. Instead you find a bunch of application global data. === As to /etc/<appname>, that should only have a small amount of configuration data. One of the config variables may in turn point to the real repository, but please don't put several GB or more of data in /etc/<appname> Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org