Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 15:19:26 +0300
From:      Serban Mihai <mihais@ravantivirus.com>
To:        freebsd-questions@freebsd.org
Subject:   Directory structure for commercial products
Message-ID:  <3DA5704E.8000904@ravantivirus.com>

next in thread | raw e-mail | index | archive | help
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.

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




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