Help understanding basic FreeBSD concepts (ports, updates,
frank at shute.org.uk
Sat Nov 7 20:20:59 UTC 2009
On Sat, Nov 07, 2009 at 11:39:41AM -0500, Roger wrote:
> Hello all,
> I have another concept that I'm confused about, the source distribution.
> Some ports, like "lsof" require the existence of /usr/src.
> What I don't understand is which version to use to keep synchronized
> with the production release.
> When the installed was performed the release was 7.2 but after doing
> "freebsd-update" the release is now
> 7.2-p4. According to the documentation, I can track CURRENT, STABLE plus other.
> Which one is the recommended one for a production server. I have not
> build that many
> packages that need the sources present so now would be a good time to
> find out which one
> I should use.
> Thank you for your time and patience,
You mentioned lsof but there is a utility in base which you probably
don't know about called fstat(1), which does a lot of what lsof does.
IIRC, the sources for 7.2 should be on the CD (run sysinstall(8) after
sticking the CD in). That will save you from downloading all the
Then update the sources with csup(1) using the correct tag: RELENG_7_2
There's a supfile, /usr/share/examples/cvsup/standard-supfile, which
you can change the default host and cvs tag of and it should work.
goes into the details.
Contact info: http://www.shute.org.uk/misc/contact.html
More information about the freebsd-questions