Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 18:22:04 +0600 (NOVT)
From:      "Alexey N. Dokuchaev" <danfe@inet.ssc.nsu.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   That compat thing
Message-ID:  <Pine.LNX.4.10.10001031757460.1575-100000@inet.ssc.nsu.ru>
In-Reply-To: <00010321120900.01441@zen.dodsworth.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

Happy y2k!

I have a /compat directory, which links my to /usr/compat dir.  There, I
have only one subdir 'linux', cding to it yields me bin, boot, etc, lib,
mnt and other subdirs.

So what do I have here?  I thought that to be able to run linux binaries I
need only two things: linux kernel loadable module (which usually starts
in my rc.i386) and corresponding libraries.  However, in
/usr/compat/linux/bin I have all bunch of staff: basename, [, bash, ls,
chmod, chown, date, dd, echo....  Just to name a few.  But whenever I try
to run anything from it, it thinks
that / is actually /usr/compat/linux/.  I say 'ls /etc' and what I got it
is contents of /usr/compat/linux/etc.  What the hell?  What the point of
having all these progs?

Don't remember right now whether I did install support for 2.2 binaries
and 3.0 a.outs; how can I check this (assuming I don't have old software
hanging around)?  Should I have anything except linux dir in /usr/compat
in this case?

Hope I made myself clear :-)

./danfe






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10001031757460.1575-100000>