Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 12:38:51 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "Alexey N. Dokuchaev" <danfe@inet.ssc.nsu.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: That compat thing
Message-ID:  <20000103123851.E330@marder-1>
In-Reply-To: <Pine.LNX.4.10.10001031757460.1575-100000@inet.ssc.nsu.ru>
References:  <00010321120900.01441@zen.dodsworth.org> <Pine.LNX.4.10.10001031757460.1575-100000@inet.ssc.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 03, 2000 at 06:22:04PM +0600, Alexey N. Dokuchaev wrote:
> 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?
> 

See http://www.freebsd.org/handbook/x21424.html for an explanation.

> 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

-- 
	"there's a long-standing bug relating to the x86 architecture
	that allows you to install Windows too"
				   -Matthew D. Fuller
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



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?20000103123851.E330>