compat directory

Polytropon freebsd at edvax.de
Tue Jul 19 10:21:23 UTC 2011


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, ...


More information about the freebsd-questions mailing list