Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2011 12:21:20 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: compat directory
Message-ID:  <20110719122120.eee822fe.freebsd@edvax.de>
In-Reply-To: <4E2556BD.3000007@nagual.nl>
References:  <4E2556BD.3000007@nagual.nl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 19 Jul 2011 12:04:45 +0200, Dick Hoogendijk wrote:
> It may be a stupid question but my FreeBSD-8.2 system lacks a /compat 
> directory. Is this normal? does it get installed through some kind of 
> software package?

The compat directory entry in root usually is a symlink
to /usr/compat. It is created by sysinstall.

/usr/src/usr.sbin/sysinstall/install.c around line 860:

	Mkdir("/usr/compat");
	vsystem("ln -s usr/compat /compat");

So it should be there when you've been using sysinstall
for system installation. If you've used a different tool
(or "no tool"), it may be the reason why it is missing.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110719122120.eee822fe.freebsd>