From owner-freebsd-current@FreeBSD.ORG Mon Jan 22 21:30:42 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 828CC16A400 for ; Mon, 22 Jan 2007 21:30:42 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1900813C4D3 for ; Mon, 22 Jan 2007 21:30:41 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l0MLUdfo052022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Jan 2007 22:30:39 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l0MLUdO2052020; Mon, 22 Jan 2007 22:30:39 +0100 (CET) Date: Mon, 22 Jan 2007 22:30:39 +0100 From: Divacky Roman To: Kurt Jaeger Message-ID: <20070122213039.GA51752@stud.fit.vutbr.cz> References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122184807.GA26839@home.c0mplx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070122184807.GA26839@home.c0mplx.org> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 21:30:42 -0000 On Mon, Jan 22, 2007 at 07:48:07PM +0100, Kurt Jaeger wrote: > Hi! > > Alex Leidinger wrote: > > If you use a linux program, please add compat.linux.osrelease=2.6.16 > > to /etc/sysctl.conf (my desktop is running with 2.6.16 emulation since > > some days already). After the next boot (or after running "sysctl > > compat.linux.osrelease=2.6.16", please make sure no linux program is > > running already) any linux program will start with a linux kernel > > version of 2.6.16 instead of 2.4.2. > > Is it possible to provide a program that lists the processes > running under linux emu ? I dont think so... the distinguishing in kernel is done by comparing p->p_sysent. but its usually very easy to say what is a linux program just try to kldunload linux module and if that doesnt succeed look at your ps ax output for suspicous programs (acroread, skype etc.)