From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 10 22:54:11 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 8C55248A for ; Tue, 10 Feb 2015 22:54:11 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 5E8C2754 for ; Tue, 10 Feb 2015 22:54:11 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t1AMseqV054563; Tue, 10 Feb 2015 14:54:40 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: gljennjohn@gmail.com, Patrick Powell In-Reply-To: <54DA6B4B.6080708@astart.com> References: <54D4EF23.7050604@astart.com> <20150208111022.4094218f@ernst.home>, <54DA6B4B.6080708@astart.com> From: "Chris H" Subject: Re: /compat/linux and /usr/compat/linux Date: Tue, 10 Feb 2015 14:54:40 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit Cc: 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: Tue, 10 Feb 2015 22:54:11 -0000 On Tue, 10 Feb 2015 12:34:19 -0800 Patrick Powell wrote > On 02/08/15 02:10, Gary Jennejohn wrote: > > On Fri, 06 Feb 2015 08:43:15 -0800 > > Patrick Powell wrote: > > > >> The latest linux-base appears to install into /compat, rather than > >> /usr/compat > >> > >> However, some FreeBSD FAQ and other documents appear to refer to > >> /usr/compat. > >> > >> Question: when did the move from using /usr/compat to /compat take > >> place (just out of curiosity)? > >> > >> Question: can linproc be in /compat/linux/proc or /usr/compat/linux/proc? > >> Question: if you have a /usr/compat/linux/lib directory will this be > >> added to the > >> libraries for linux emulation? > >> > > /compat has historically always been a symbolic link to /usr/compat: > > > > lrwxr-xr-x 1 root wheel 10 Nov 25 2011 /compat -> usr/compat > > > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > but in my /etc/fstab I have > > linproc /compat/linux/proc linprocfs rw 0 0 > > > > Since /compat is a symbolic link it resolves to /usr/compat when it's > > used. > > > # uname -a > FreeBSD astart2.astart.com 9.3-RELEASE-p9 FreeBSD 9.3-RELEASE-p9 #0: Tue > Jan 27 10:43:40 UTC 2015 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > # ls -l / |grep compat > > drwxr-xr-x 3 root wheel 512 Dec 3 14:41 compat > > # ls -l /usr |grep compat > drwxr-xr-x 3 root wheel 512 Nov 21 21:06 compat > > Note that neither /compat or /usr/compat are symbolic links. Interesting. On a RELENG_9 (9.3-STABLE); I only return /compat no linux, or compat available in /usr So what's the *real* story behind all this? --Chris > > > -- > 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 > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"