Slashdot Mirror


CVSup, Mounting, Ports and Init on FreeBSD

LiquidPC writes: "OSNews is running an article describing CVSup, mounting, ports, and the FreeBSD init system; focused primarily towards new users to FreeBSD."

23 comments

  1. FreeBSD Configuration by NWT · · Score: 4, Informative

    So you've taken the first step and installed FreeBSD
    Yes! The article is really well written and couvers the various topics how to install/update and configure software. It's not really in-depth but it's a good mixture of descripiton and examples. I've been searching for an article like this for a long time and this one is really good as it explains cleary what you do.

    --
    Life sucks.
    1. Re:FreeBSD Configuration by Pierre · · Score: 5, Interesting

      This is a great article if you've just installed FreeBSD and are trying to get your feet wet, but I've been searching for an artical on what to do next.

      So by default the CDROM is root only. What is the best way to change that?

      CVSup and you have the latest edition of the source. For the base system that is great just make buildworld then make installworld

      What about the apps I've added. What is the best way to keep those current? Does portupgrade recompile the app everytime?

      After cvsup I used to do a

      cd /var/db/pkg
      portupgrade *

      and just leave for a day or so... Can I just upgrade the binaries somehow instead of recompiling?

      Maybe it'll be a series of articles!

    2. Re:FreeBSD Configuration by taion · · Score: 5, Informative

      Regarding portupgrade, there's no need to run it from /var/db/pkg, and it's suggested that you simply run portupgrade -ra to update everything.

      This recompiles and reinstalls all ports for which the installed version is lower than that in the ports library.

      You can also specify to portupgrade that it should only use packages, as well as various other options (man portupgrade for a more detailed account).

      It's recommended, however, that you install and upgrade ports from source. With a properly configured /etc/make.conf, the code will be optimized specifically for your system and thus run faster, and the ports from CVS tend to be more up-to-date than corresponding packages.

      --

      ----------
      Floccinaucinihilipilification - the action or habit of judging something to be worthless
    3. Re:FreeBSD Configuration by Anonymous Coward · · Score: 0

      Recompiling gnome for a comment change doesn't seem like a good idea. Is there a central computer with the latest packages?

    4. Re:FreeBSD Configuration by taion · · Score: 5, Informative

      pkg_add -r <port name> will install the latest version of the package of the specified port, if one is available.

      In addition, portupgrade only recompiles packages that have a version change, and the ports in the ports library compile off of released versions of the source (i.e. version x.y,z_w), not from the CVS repositories --- if the only difference between a new release of some hideously large port (X or Mozilla, for instance; GNOME is actually a meta-port, or a collection of ports, none of which take particularly long to build, really) and the older release is a comment change, well... blame the developers, not the porters (:

      In addition, especially for larger ports, most minor changes to the port (such as changing the locations of distribution files and whatnot) do not affect the PORTREVISION, so they will not be recompiled either.

      --

      ----------
      Floccinaucinihilipilification - the action or habit of judging something to be worthless
  2. Re:This is a very nice article by Anonymous Coward · · Score: 0

    yeah yeah... whatever. If your site was better, we'd be reading that. And if either of us a good use of time, this thread wouldn't be here.

    Besides, it's not a front page story, unless your at bsd.slashdot or you selected to "Collapse Sections". Even then, it's still not really the "front page".

    Now go away.

  3. Re:*BSD is dying by Anonymous Coward · · Score: 2, Funny

    BSD may be dead, but that's not stopping it from rocking at its own wake!

  4. Ports diffs by more+fool+you · · Score: 2, Insightful

    When downloading the source files it would be really sweet to just download diffs of the packages, esp. the larger ones (mozilla, XFree86 etc), just like what is done with the kernel source.

    1. Re:Ports diffs by bovinewasteproduct · · Score: 5, Informative

      Since the FreeBSD project does not maintain the CVS trees of the ports (if they are even in CVS), this would be a little hard.

      What the project does do is maintain the FreeBSD specific diffs so you can just use the original source instead of a custom FreeBSD one.

      For selected programs (ie the ones in the contrib tree) the project does keep the tree so you can just get the diffs.

      BWP

    2. Re:Ports diffs by Anonymous Coward · · Score: 0

      Since you are using CVS with CVSup, diff is really not necessary, it's more automatic, even. You only get the deltas that have changed since you last updated the CVS tree. In that way, it's just like rsync. Sure, having a diff would be nice for modifying a large ammount of machines, but you could always create a local CVS mirror and in that way save the external bandwidth. CVS is really an elegant solutin, what with the compresstion and auto diffing.

  5. Re:*BSD is dying by Anonymous Coward · · Score: 0

    Jeese.. the same old lame trolls. Can't you guys at least change part of it anymore, or worse yet, come up with something FUNNY or CLEVER?

    I guess that's just too much to ask. The trolls here have really gone downhill.

  6. Re:*BSD is dying by Anonymous Coward · · Score: 0

    why don't you shut your fucking face?

  7. Lonesome road for *BSD by Anonymous Coward · · Score: 0
    Even once you get past the fact the *BSD is fragmented between a myriad of incompatible kernels, there is the historical record of failure and of failed operating systems. *BSD experienced moderate success about 15 years ago in academic circles. Since then it has been in steady decline. We all know *BSD keeps losing market share but why? Is it the problematic personalities of many of the key players? Or is it larger than their personalities?

    The record is clear on one thing: no operating system has ever come back from the grave. Efforts to resuscitate *BSD are one step away from spiritualists wishing to communicate with the dead. The funeral bell is tolling for *BSD. Bow your head. The parade's gone by - *BSD is dying.