From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 06:01:41 2010 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 7AB5F106566B for ; Thu, 8 Apr 2010 06:01:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD488FC13 for ; Thu, 8 Apr 2010 06:01:40 +0000 (UTC) Received: from r55.edvax.de (port-92-195-74-116.dynamic.qsc.de [92.195.74.116]) by mx01.qsc.de (Postfix) with ESMTP id DFB503CE17; Thu, 8 Apr 2010 08:01:38 +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 o3861c7O001551; Thu, 8 Apr 2010 08:01:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 8 Apr 2010 08:01:38 +0200 From: Polytropon To: Charlie Kester Message-Id: <20100408080138.74a994aa.freebsd@edvax.de> In-Reply-To: <20100407171310.GA44876@comcast.net> References: <4BBC3343.8070703@a1poweruser.com> <20100407171310.GA44876@comcast.net> 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-questions@freebsd.org Subject: Re: usage of /usr/bin 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: Thu, 08 Apr 2010 06:01:41 -0000 Allow me an addition: On Wed, 7 Apr 2010 10:13:10 -0700, Charlie Kester wrote: > On Wed 07 Apr 2010 at 00:24:51 PDT Fbsd1 wrote: > >Why are there RELEASE base files in /usr/bin. I thought /usr was to > >only contain binaries installed from ports or packages. > > In many configurations, /bin and /usr/bin are not in the same slice. In > some cases, they're not even on the same drive. I think you wanted to say that they often aren't on the same partition (not slice), but it is possible to have them on different slices, as well as disks, as you mentioned. Example: /dev/ad0s1a / <- /bin, /sbin, /etc reside here /dev/ad0s1f /usr <- /usr/bin, as well as /usr/local In this example, both are on the same disk and within the same slice, but on different partitions. In case of mount trouble, / would usually be available read-only, to provide a kind of reduced maintenance mode, and /usr wouldn't be mounted at all. > Think about scenarios where /usr fails to mount for some reason. Then > look at what's in /bin compared to what's in /usr/bin, and perhaps > you'll understand the logic of it. The manpage "man hier" explains it very well. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...