/compat/linux and /usr/compat/linux

Gary Jennejohn gljennjohn at gmail.com
Sun Feb 8 10:10:27 UTC 2015


On Fri, 06 Feb 2015 08:43:15 -0800
Patrick Powell <papowell at astart.com> 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.

-- 
Gary Jennejohn


More information about the freebsd-emulation mailing list