Date: Wed, 11 Feb 2015 06:54:10 -0800 From: Patrick Powell <papowell@astart.com> To: Chris H <bsd-lists@bsdforge.com>, Kevin Oberman <rkoberman@gmail.com> Cc: gljennjohn@gmail.com, "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org> Subject: Re: /compat/linux and /usr/compat/linux Message-ID: <54DB6D12.2080802@astart.com> In-Reply-To: <0cd6ea56dadf9a02877417c2a7e3b1f6@ultimatedns.net> References: <54D4EF23.7050604@astart.com> <20150208111022.4094218f@ernst.home> <54DA6B4B.6080708@astart.com> <a93bcb61fed8194e6831e8a51bd71c57@ultimatedns.net>, <CAN6yY1uYU3Pvd=NQVDnWfsr6wpGVAwT1ME6m9k%2B6t9WEZ7AVBQ@mail.gmail.com> <0cd6ea56dadf9a02877417c2a7e3b1f6@ultimatedns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/10/15 21:02, Chris H wrote: > On Tue, 10 Feb 2015 18:12:43 -0800 Kevin Oberman <rkoberman@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54DB6D12.2080802>