From owner-freebsd-questions Thu Oct 10 6:19:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7751937B401 for ; Thu, 10 Oct 2002 06:19:51 -0700 (PDT) Received: from delta.gecadsoftware.com (delta.gecadsoftware.com [193.230.245.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 245A343E8A for ; Thu, 10 Oct 2002 06:19:49 -0700 (PDT) (envelope-from mihais@ravantivirus.com) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id AB1DC85522; Thu, 10 Oct 2002 16:05:54 +0300 (EEST) Received: from ravantivirus.com (mihais.gecadsoftware.com [193.230.245.151]) by delta.gecadsoftware.com (Postfix) with ESMTP id 9333A85269; Thu, 10 Oct 2002 16:05:39 +0300 (EEST) Message-ID: <3DA5704E.8000904@ravantivirus.com> Date: Thu, 10 Oct 2002 15:19:26 +0300 From: Serban Mihai Organization: GeCAD Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Directory structure for commercial products Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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