From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 06:07:29 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 C083D106566B for ; Thu, 8 Apr 2010 06:07:29 +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 7D9B28FC18 for ; Thu, 8 Apr 2010 06:07:29 +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 8DD673CBFC; Thu, 8 Apr 2010 08:07:27 +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 o3867ROC001559; Thu, 8 Apr 2010 08:07:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 8 Apr 2010 08:07:27 +0200 From: Polytropon To: Lowell Gilbert Message-Id: <20100408080727.37b1f73b.freebsd@edvax.de> In-Reply-To: <44ochu3iai.fsf@lowell-desk.lan> References: <4BBC3343.8070703@a1poweruser.com> <20100407093536.cab35b04.freebsd@edvax.de> <4BBC4CA9.6090807@a1poweruser.com> <44zl1fl56x.fsf@be-well.ilk.org> <4BBD0FF3.9070706@a1poweruser.com> <44ochu3iai.fsf@lowell-desk.lan> 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:07:29 -0000 On Wed, 07 Apr 2010 20:21:57 -0400, Lowell Gilbert wrote: > Fbsd1 writes: > > Your wrong. I installed the package of postfix and it installed it > > self into /usr/bin with out any help from me. > > Believe it or not, I checked before responding, so I'm *not* wrong. I > said that the port populates into /usr/local like it should, and having > it on several machines for nearly a decade now, I knew that to be the > case. You then changed that to refer to a package rather than a port; I > don't know where you got your packages from, but I checked the packages > for 8-STABLE and for 8.0-RELEASE, and saw that they install into > /usr/local as well. So it sounds like your packages didn't come from > the FreeBSD project, if they are really installing anything into > /usr/bin. > > Just as a sanity check: what, specifically, is installed into /usr/bin > on your system? Most of the postfix executables go into sbin rather > than bin anyway, so it's possible that something in the mailwrapper > system is confusing you. If you don't have a /usr/local/sbin/postfix, > but have a /usr/sbin/postfix instead, then this is not the case. A comfortable, maybe overcomplicated way to check what a package will install - without actually installing it - is to use the option -n for pkg_add (which obviously operates on packages, not on ports). So you could do: pkg_add -fKnrv postfix > /tmp/postfix_add.txt This even works if postfix is already installed. The options, for a short reference, are: -f = force, -K = keep, -n = no install, -r = remote and -v = verbose. You can then search for lines that address specific locations in /usr/bin rather than /usr/local/bin. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...