From owner-freebsd-hackers@FreeBSD.ORG Wed May 21 08:20:55 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB8C137B401 for ; Wed, 21 May 2003 08:20:55 -0700 (PDT) Received: from honolulu.procergs.com.br (honolulu.procergs.com.br [200.198.128.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E7443F93 for ; Wed, 21 May 2003 08:20:55 -0700 (PDT) (envelope-from marcelo-leal@procergs.rs.gov.br) Received: from ws-tor-0004.procergs (unknown [172.28.5.20]) by honolulu.procergs.com.br (Postfix) with ESMTP id 362FDA9DB for ; Wed, 21 May 2003 12:20:54 -0300 (BRT) Received: by ws-tor-0004.procergs (Postfix, from userid 1000) id 24C7A10214; Wed, 21 May 2003 12:20:54 -0300 (BRT) Received: from procergs.rs.gov.br (localhost [127.0.0.1]) by ws-tor-0004.procergs (Postfix) with ESMTP id 16A7510213 for ; Wed, 21 May 2003 12:20:54 -0300 (BRT) From: omestre@freeshell.org To: freebsd-hackers@freebsd.org Date: Wed, 21 May 2003 12:20:49 -0300 Sender: marcelo-leal@procergs.rs.gov.br Message-Id: <20030521152054.24C7A10214@ws-tor-0004.procergs> Subject: linux emulation. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 15:20:56 -0000 Hello, The FreeBSD is great. I have my desktop running with FreeBSD 5.0 kernel, and the ROOTFS is a Debian/GNU Linux 3.0. (The filesystem is UFS2). There are only two programs in the filesystem that are FreeBSD ones: route and sysctl. I did saw the documentation (in handbook), about the emulation that are not emulation. :) But i want to know more about that. Where can i find this documentation? i know, i know... the sources. But i want to read articles about that... talking about the implementation and how it works (more deep than the handbook), so, maybe i can understand the sources. Example: In the handbook, i did read that the proc structure (now thread in 5.0), holds a pointer to the sysent[] table. (sys calls). Each process have one pointer to it. But, the FreeBSD sysent struct i have found, but the linux do not. It suppoused to be in /usr/src/sys/compat/linux tree... right? Really, the SO implementation, vm, io and etc is independent of ABI that it is running. Excelent. But i want know more. I want know if there are overhead in some point (sysent traduction?). Thanks The english? sorry... :) ---