/compat/linux and /usr/compat/linux

Patrick Powell papowell at astart.com
Wed Feb 11 14:54:21 UTC 2015


On 02/10/15 21:02, Chris H wrote:
> On Tue, 10 Feb 2015 18:12:43 -0800 Kevin Oberman <rkoberman at 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 at 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 at 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



More information about the freebsd-emulation mailing list