From owner-freebsd-questions Thu Oct 10 6:35: 0 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 F017237B401 for ; Thu, 10 Oct 2002 06:34:58 -0700 (PDT) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C41BA43EB2 for ; Thu, 10 Oct 2002 06:34:57 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.11.6/8.11.6) with ESMTP id g9ADYt607380; Thu, 10 Oct 2002 15:34:56 +0200 (MEST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.11.6/8.11.6) with ESMTP id g9ADYt818787; Thu, 10 Oct 2002 15:34:55 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.12.5/8.12.5) id g9ADYtt7076214; Date: Thu, 10 Oct 2002 15:34:55 +0200 From: Andre Albsmeier To: Serban Mihai Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Directory structure for commercial products Message-ID: <20021010153455.A11533@curry.mchp.siemens.de> References: <3DA5704E.8000904@ravantivirus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DA5704E.8000904@ravantivirus.com>; from mihais@ravantivirus.com on Thu, Oct 10, 2002 at 03:19:26PM +0300 X-Echelon: PEM, MI6, smuggle, assault, 757 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 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