From owner-freebsd-questions@FreeBSD.ORG Fri Nov 5 23:41:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C1B16A4CE for ; Fri, 5 Nov 2004 23:41:55 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB99B43D48 for ; Fri, 5 Nov 2004 23:41:53 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 09F94C36B6F; Fri, 5 Nov 2004 18:41:52 -0500 (EST) X-Sasl-enc: ypL8PZeE1ir07LCX+AsXDg 1099698101 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 4D26325599; Fri, 5 Nov 2004 18:41:41 -0500 (EST) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1CQDhV-0002bC-U3; Fri, 05 Nov 2004 17:41:01 -0600 Date: Fri, 5 Nov 2004 17:41:01 -0600 From: Nathan Kinkade To: Vittorio Message-ID: <20041105234101.GT13601@gentoo-npk.bmp.ub> Mail-Followup-To: Vittorio , freebsd-questions@freebsd.org References: <200411051329.07849.v.demartino2@virgilio.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DzFMwNuU1QL7hgxO" Content-Disposition: inline In-Reply-To: <200411051329.07849.v.demartino2@virgilio.it> User-Agent: Mutt/1.5.6i Sender: cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD newbye simple question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 23:41:55 -0000 --DzFMwNuU1QL7hgxO Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 05, 2004 at 01:29:07PM +0000, Vittorio wrote: > Experienced linux debian user, recently I smoothly moved to linux gentoo= =20 > (BSD compliant) AND to FreeBSD 5.2.1. >=20 > 1) I want to tailor my freeBSD slice according to my machine (gentoo=20 > experience is helpful!). Now, while i I know how to compile an=20 > application in /usr/ports I cannot find sources of the "base system" I=20 > had to install when starting the first installation from scratch. >=20 > Where are those sources? The sources for the base system are available on the same media from which you installed. If you don't have anything under /usr/src/ the you didn't install the sources. With a running system you can run the program called 'sysinstall', the same one use to install the intial system and install the sources. You can do this: sysinstall -> Configure -> Distributions -> src > 2) The questions' question: where can I read what are the options I can= =20 > use with a certain source package and how can I use them when=20 > make(-ing) the program? Sometimes you can read the Makefile in the port directory for a particular port. > 3) It goes without saying that many freebsd commands are the same as in= =20 > linux but I cannot find the freebsd command equivalent to the linux=20 > command 'free' giving info about the size of memory used by the=20 > system's cache, buffers, swap, etc. As far as I know the best way to get this information is from the top(1). You can also get info from systat(1), check out the manpage. Nathan --=20 PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xD8527E49 --DzFMwNuU1QL7hgxO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBjA+NO0ZIEthSfkkRAojGAKCLOb1UOh7AMQfcXTURdU8ltH7yDQCZAd1g b+lELWrl6hknf4YYhnK7BeY= =OzT/ -----END PGP SIGNATURE----- --DzFMwNuU1QL7hgxO--