Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 17:41:01 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Vittorio <v.demartino2@virgilio.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD newbye simple question
Message-ID:  <20041105234101.GT13601@gentoo-npk.bmp.ub>
In-Reply-To: <200411051329.07849.v.demartino2@virgilio.it>
References:  <200411051329.07849.v.demartino2@virgilio.it>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, Nov 05, 2004 at 01:29:07PM +0000, Vittorio wrote:
> Experienced linux debian user, recently I smoothly moved to linux gentoo 
> (BSD compliant) AND to FreeBSD 5.2.1.
> 
> 1) I want to tailor my freeBSD slice according to my machine (gentoo 
> experience is helpful!). Now, while i I know how to compile an 
> application in /usr/ports I cannot find sources of the "base system" I 
> had to install when starting the first installation from scratch.
> 
> 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 
> use with a certain source package and how can I use them when 
> 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 
> linux but I cannot find the freebsd command equivalent to the linux 
> command 'free' giving info about the size of memory used by the 
> 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
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBjA+NO0ZIEthSfkkRAojGAKCLOb1UOh7AMQfcXTURdU8ltH7yDQCZAd1g
b+lELWrl6hknf4YYhnK7BeY=
=OzT/
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041105234101.GT13601>