Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 15:34:55 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Serban Mihai <mihais@ravantivirus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Directory structure for commercial products
Message-ID:  <20021010153455.A11533@curry.mchp.siemens.de>
In-Reply-To: <3DA5704E.8000904@ravantivirus.com>; from mihais@ravantivirus.com on Thu, Oct 10, 2002 at 03:19:26PM %2B0300
References:  <3DA5704E.8000904@ravantivirus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10-Oct-2002 at 15:19:26 +0300, Serban Mihai wrote:
> Hi,
> I'm looking for a standard/official specification for the filesystem 
> hierarchy used on FreeBSD (and all BSDs) regarding commercial products.
> 
> Conforming to hier(7) the PREFIX (/usr/local) location should be used 
> for local packages. And there the /usr hierarchy should be used.
> Let's suppose I have to install a commercial product named 'foo'. The 
> package contains binaries, libraries, logs, UNIX sockets, temporary 
> files, configuration files and periodically updated data files.
> Does the following directory structure conform to standards?
> PREFIX/foo/{bin, lib, etc, tmp, log, data, run...}
> 
> or should it be:
> PREFIX/bin/foo
> PREFIX/lib/foo
> PREFIX/etc/foo
> PREFIX/libdata/foo/{tmp, log, data, run..}?
> 
> Is there any other solution? I will greatly appreciate your help.

One thing to observe is, that some people like to mount their /usr
read-only. This might be a reason to put the tmp and log data
into /var (instead of /usr/local/...). Samba, for example, puts
its temporary data in /var. This might especially be true for
servers.

	-Andre

> 
> Best regards.
> 
> Mihai Serban
> AV Development Manager
> GeCAD Software / RAV Division
> 
> 
> 
> This mail was scanned by RAV AntiVirus
> on behalf of GeCAD Software.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010153455.A11533>