From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 00:18:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B40816A419 for ; Sun, 2 Dec 2007 00:18:34 +0000 (UTC) (envelope-from lennart@dev-my.org) Received: from dev-my.org (dev-my.org [85.214.28.192]) by mx1.freebsd.org (Postfix) with ESMTP id 4C39D13C465 for ; Sun, 2 Dec 2007 00:18:33 +0000 (UTC) (envelope-from lennart@dev-my.org) Received: from [192.168.1.101] (d193211.adsl.hansenet.de [80.171.193.211]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by dev-my.org (Postfix) with ESMTP id 5D437450F2A for ; Sun, 2 Dec 2007 00:48:21 +0100 (CET) From: Lennart Koopmann To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Sun, 02 Dec 2007 00:48:24 +0100 Message-Id: <1196552904.16096.10.camel@sundaysister> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Subject: Linux /proc on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 00:18:34 -0000 Hey everyone, i am going to port a server that i am currently working on to FreeBSD. I don't have much experience with FreeBSD yet. The only real big thing i have to change is the way some data is fetched. In the Linux version i read in data like the hostname, the domainname, the kernel version etc from /proc. Is there a central point to look for those values in FreeBSD? If not, where do i get those values? I _don't_ want to use external binaries like sysctl etc... Thank you! Lennart Koopmann -- FSF Member #5673