LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-12-2005, 05:00 PM   #1
TSHF-Megsy
Newbie
 
Registered: Oct 2005
Location: North Brunswick, NJ
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
Gentoo vs. FreeBSD


I have been using Gentoo for quite some time right now. I'm a huge supporter of any Unix-based platform. I want to step into the world of FreeBSD and I'm not afraid to do so because FreeBSD is very similar to Gentoo. Can anyone go over the differences though between Linux and FreeBSD? I know that BSD is a Unix and Gentoo is a Linux.
 
Old 12-13-2005, 03:06 AM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
1- Ports beats portage.

2- You may choose between 3 different firewall flavours: IPFilter, PF & IPFW. The syntax rules are easier.

3- Most tools are not GNU, so their options are different (when they're not POSIX). You'd need to install the GNU ports and be prepared to use them with a 'g' prepended, ie: gmd5sum, gfind, gcp, guname, etc.

4- Bash is not installed by default, and it is not in /bin/bash when you install it: it'll be in /usr/local/bin/bash

5- FreeBSD has many good tools, look at *stat: vmstat, iostat, fstat (much like a native lsof), sockstat, systat, pstat and so on.

6- There are no journaling filesystems in FreeBSD, just UFS2 with soft-updates which is a different approach. It reads and writes ext2 partitions perfectly and linux reads UFS2 (with no write).

7- FreeBSD executes many of my Linux binaries with the Linux emulation package. I will take the time to make them work with the libraries already installed in my linux partitions rather than the libraries installed by the emul package itself.

In my opinion, they're not "similar": portage just scratchs the power of ports. It's slow. Another thing that makes them similar is /etc/rc.conf, which is a nice feature. Go ahead and install it
 
Old 12-27-2005, 07:24 PM   #3
xcourse
LQ Newbie
 
Registered: Apr 2003
Location: Madison,WI
Distribution: SuSE, Gentoo
Posts: 9

Rep: Reputation: 1
With all due respect, ports does not beat portage; they are both useful, powerful tools for adding/updating software. A relative newcomer like Gentoo does not get to be as popular as it has become by basing its core on a weak, ineffective concept, and believe me, portage is neither weak nor ineffective.
 
1 members found this post helpful.
Old 12-27-2005, 08:20 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by xcourse
With all due respect, ports does not beat portage; they are both useful, powerful tools for adding/updating software. A relative newcomer like Gentoo does not get to be as popular as it has become by basing its core on a weak, ineffective concept, and believe me, portage is neither weak nor ineffective.
I think you are overreacting. The guy did not say that portage was not powerful and he didn't say that the concept of portage was weak or ineffective. Portage is an idea based on ports, so why would he bash portage, I think was comparing portage to ports and expressing his personal opinion.

Personally I think other than the use of portage and bsd style scripts, Gentoo is just any other Linux distro when compared to FreeBSD. If you have some linux knowledge, you can learn to use FreeBSD very quickly, but those using distros with certain BSD elements like Slack and of course Gentoo may pick it up faster. Just don't expect things to work exactly like they do in Linux and be prepared to configure a lot of stuff manually.
 
Old 12-28-2005, 02:48 AM   #5
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Quote:
Originally Posted by xcourse
With all due respect, ports does not beat portage; they are both useful, powerful tools for adding/updating software. A relative newcomer like Gentoo does not get to be as popular as it has become by basing its core on a weak, ineffective concept, and believe me, portage is neither weak nor ineffective.
Portage is slow, so much that I can't afford anymore to install it on old boxes when I wanted to maximize their use compiling everything. Portage needs a reimplementation in C (even C++). I don't know why they didn't picked up the ports system completely and extended on it.
See http://www.freebsd.org/cgi/man.cgi?q...SE&format=html

The only resemblance between the two is the hierarchy at /usr/port{s|age}, a few directives and /etc/make.conf, but the beauty and simplicity of ports is not present in portage
 
Old 01-01-2006, 04:37 PM   #6
Bjerrk
Member
 
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 76

Rep: Reputation: 19
Now, i've used Gentoo for quite some time and i have only VERY seldom experienced an ebuild that wouldn't install. they just worked, so to say.

With FreeBSD - which i'm also very fond of - i've had some problems with ports that just didn't compile cleanly
even on relatively freshly intstalled systems (< 1 day old).

One of the things that FreeBSD has that gentoo definitely doesn't is regularily updated "binary" packages.
That's one really nice FreeBSD thing.

Kind Regards Bjerrk
 
Old 01-06-2006, 07:54 PM   #7
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by primo
1- Ports beats portage.

2- You may choose between 3 different firewall flavours: IPFilter, PF & IPFW. The syntax rules are easier.

3- Most tools are not GNU, so their options are different (when they're not POSIX). You'd need to install the GNU ports and be prepared to use them with a 'g' prepended, ie: gmd5sum, gfind, gcp, guname, etc.

4- Bash is not installed by default, and it is not in /bin/bash when you install it: it'll be in /usr/local/bin/bash

5- FreeBSD has many good tools, look at *stat: vmstat, iostat, fstat (much like a native lsof), sockstat, systat, pstat and so on.

6- There are no journaling filesystems in FreeBSD, just UFS2 with soft-updates which is a different approach. It reads and writes ext2 partitions perfectly and linux reads UFS2 (with no write).

7- FreeBSD executes many of my Linux binaries with the Linux emulation package. I will take the time to make them work with the libraries already installed in my linux partitions rather than the libraries installed by the emul package itself.

In my opinion, they're not "similar": portage just scratchs the power of ports. It's slow. Another thing that makes them similar is /etc/rc.conf, which is a nice feature. Go ahead and install it
Hmm. I agree, but I have to say, that the ultimate solution would be to keep a Linux, just in case and work on FreeBSD. Just like I did. When I messed sthing up, I just booted to Slack (Yuck, I dislike gentoo) and checked the net for answers.
 
Old 01-07-2006, 10:30 PM   #8
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Quote:
Originally Posted by Bjerrk
With FreeBSD - which i'm also very fond of - i've had some problems with ports that just didn't compile cleanly
even on relatively freshly intstalled systems (< 1 day old).
That is because you are not meant to expect ports to simply work out of the box. The ports are constantly changing and taking a snapshot of them at the moment of the code freeze is a gamble. The release might not be for another 5-6weeks or more. During this time the maintainers of the ports will be addressing bugs, adding and removing source mirrors, updating their ports, and even adding new ports. Expecting the ports to work out of the box is madness it is simply not possible when you consider the implementation of the ports. You need to use cvs-update(The very first thing i do after a fresh install)... Ports are dynamic so update them and you will find that the system works like a charm.

PS: I would be glad to walk you through the correct way to update your ports tree if you are not familiar with the process.

Last edited by Stack; 01-07-2006 at 10:34 PM.
 
Old 01-19-2006, 05:54 PM   #9
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by TSHF-Megsy
I have been using Gentoo for quite some time right now. I'm a huge supporter of any Unix-based platform. I want to step into the world of FreeBSD and I'm not afraid to do so because FreeBSD is very similar to Gentoo. Can anyone go over the differences though between Linux and FreeBSD? I know that BSD is a Unix and Gentoo is a Linux.
Some basic differences :

1.BSD has a different "disk division system". What Linux and Microsoft Operating Systems call Partitions, BSD calls slices. Slices are divided further into partitions (think of them as sub-partitions).

2.The location of your hardware is different from Linux. For example, a standard IDE disk in FreeBSD would be something like /dev/ad0s1. In Linux, it would be /dev/hda. Another example is ethernet cards. In Linux, it's almost always eth0, eth1 etc. In FreeBSD, it depends on the drivers. For example, an Intel EtherExpress card would be located at /dev/fxp(X) whereas a card with a SiS chipset would be located at /dev/sis(x).

3.BSD was orginally an addon for the orginal Bell Labs UNIX. Due to copyright issues, it no longer has any of the orginial copyrighted UNIX code but it is more "unixey" than Linux.

4.Ports does not use a single command to do everything. In Gentoo, you use the emerge command. With ports, you have a /usr/ports directory that contains sub-directories with catagories of programs and their directories. After finding the program you want to install, you cd into the right directory and compile it as if you were compiling a program manually. Ports will automatically download the required items.

5.FreeBSD is actually easier and faster to install than a lot of Linux distros. I can get FreeBSD installed and to the command line in 10-15 minutes.

6.FreeBSD has a Linux ABI that allows it to run approximentally 90% of Linux binaries. This is mostly for commercial software, most open-source Linux software has been ported.

I recommend reading the following if you are interested in learning more :
http://en.wikipedia.org/wiki/BSD
http://distrowatch.com/dwres.php?res...view-freebsd#1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow NFS Mount between Gentoo & FreeBSD Gsee Linux - Networking 3 10-23-2006 04:34 PM
Gentoo vs FreeBSD for web server, and what makes a good router? JCdude2525 Linux - Distributions 9 04-19-2006 01:19 AM
read/write file system for FreeBSD _and_ Gentoo linkmark Linux - Software 8 04-12-2005 05:51 PM
debian for me or not - gentoo, slack, freebsd darkleaf Linux - Newbie 7 12-08-2004 02:16 PM
Why use Gentoo instead of FreeBSD? sether Linux - Distributions 19 09-15-2004 12:30 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration