From owner-freebsd-questions Mon Jan 3 4:38:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 979A914CF3 for ; Mon, 3 Jan 2000 04:38:52 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 4587 invoked from network); 3 Jan 2000 12:38:50 -0000 Received: from useras92.uk.uudial.com (HELO marder-1.) (62.188.137.96) by smtp.dial.pipex.com with SMTP; 3 Jan 2000 12:38:50 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id MAA12099; Mon, 3 Jan 2000 12:38:52 GMT (envelope-from mark) Date: Mon, 3 Jan 2000 12:38:51 +0000 From: Mark Ovens To: "Alexey N. Dokuchaev" Cc: freebsd-questions@freebsd.org Subject: Re: That compat thing Message-ID: <20000103123851.E330@marder-1> References: <00010321120900.01441@zen.dodsworth.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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