From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 11 14:54:21 2015 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 735F0237 for ; Wed, 11 Feb 2015 14:54:21 +0000 (UTC) Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net [72.214.30.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 312F2B06 for ; Wed, 11 Feb 2015 14:54:20 +0000 (UTC) Received: from laptop_93.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.9/8.14.9) with ESMTP id t1BEsAkL011112; Wed, 11 Feb 2015 06:54:10 -0800 (PST) (envelope-from papowell@astart.com) Message-ID: <54DB6D12.2080802@astart.com> Date: Wed, 11 Feb 2015 06:54:10 -0800 From: Patrick Powell Reply-To: papowell@astart.com Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Chris H , Kevin Oberman Subject: Re: /compat/linux and /usr/compat/linux References: <54D4EF23.7050604@astart.com> <20150208111022.4094218f@ernst.home> <54DA6B4B.6080708@astart.com> , <0cd6ea56dadf9a02877417c2a7e3b1f6@ultimatedns.net> In-Reply-To: <0cd6ea56dadf9a02877417c2a7e3b1f6@ultimatedns.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: gljennjohn@gmail.com, "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 14:54:21 -0000 On 02/10/15 21:02, Chris H wrote: > On Tue, 10 Feb 2015 18:12:43 -0800 Kevin Oberman wrote > >> > Thanks for the informative response, Kevin. > FWIW as most of the servers I manage use nVidia video; in anticipation > of installing the nvidia drivers, I always install the > emulators/linux_base-* port prior to the [nvidia] video driver, knowing > it's a prereq. > Under the circumstances (linux-base-* v [linux]ports); I wonder > what, or if some "standard" should be determined || applied? > Assuming one isn't already in place. > > Thanks again, Kevin. > >> -- >> Kevin Oberman, Network Engineer, Retired >> E-mail: rkoberman@gmail.com > --Chris > > -- > > > On my system /usr/compat/ was created by adding linproc and linsys to /etc/fstab so that some Linux executables could run. I believe that this was mentioned in the postinstall for a port that I was installing (cirra FreeBSD 9.0). When I was installing a new version of the same utility on 9.3 I saw the note for adding linproc and checked /etc/fstab and found I had /usr/compat/linux/proc as the path. I changed the path to /compat and then started wondering when the change occurred and if it was going to effect anything else, such as the location of libraries that I needed to add/modify for various linux utilities. Note that the only thing in /usr/compat was /usr/compat/linux/proc. Everything else seemed to get installed in /compat. I just had a quick look at the current Ports files and it looks like they all reference/use /compat/linux/proc linproc /compat/linux/proc linprocfs rw 0 0 linsys /compat/linux/sys linsysfs rw 0 0 Note: just as a side note on this, shouldn't the location actually be /usr/local/compat? But I digress... -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting 858-874-6543 FAX 858-751-2435 Web: www.astart.com