Help understanding basic FreeBSD concepts (ports, updates,
jails)
Frank Shute
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,
>
> -r
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
sources.
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.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
goes into the details.
Regards,
--
Frank
Contact info: http://www.shute.org.uk/misc/contact.html
More information about the freebsd-questions
mailing list