From owner-freebsd-questions@FreeBSD.ORG Sun Aug 24 01:50:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ACE1106566C for ; Sun, 24 Aug 2008 01:50:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 43EE68FC1C for ; Sun, 24 Aug 2008 01:50:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-64-105.dynamic.qsc.de [92.195.64.105]) by mx02.qsc.de (Postfix) with ESMTP id 66DAB16C015D for ; Sun, 24 Aug 2008 03:47:43 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m7O1jjZh002225; Sun, 24 Aug 2008 03:45:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 24 Aug 2008 03:45:45 +0200 From: Polytropon To: Gary Kline Message-Id: <20080824034545.f4fbc9ad.freebsd@edvax.de> In-Reply-To: <20080824012442.GA46150@thought.org> References: <20080824012442.GA46150@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Why /usr/local/etc??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 01:50:34 -0000 On Sat, 23 Aug 2008 18:24:48 -0700, Gary Kline wrote: > Folks, > > This may have been covered too-often before, buy why can't > *everything* related to /etc hang off "/etc"? I can create a > symlink in /etc to /usr/local/etc named "loc" or "local". > Thing is, why this isn't done by default? Maybe you're coming from a Linux background, so this may be a valid question. To introduce, FreeBSD differs between "just the OS", the things that you install from sysinstall first, and "everything else", the things you install from the ports collection or from the precompiled packages. Things that do belong to the OS is located everywhere outside /usr/local, and everything else is located inside /usr/local, replicating the subtrees of bin/, lib/, include/, share/ and etc/. Summarized: In /etc there's the system's configuration, and in /usr/local/etc there are configurations and settings for ports and packages you added. As you may see, this is well intended. Feel free to read % man 7 hier for a more detailed explaination. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...