Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 11:58:12 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Benjamin Lutz <benlutz@datacomm.ch>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Why is the FreeBSD kernel so much bigger than the Linux kernel?
Message-ID:  <20010124115812.G37060@wantadilla.lemis.com>
In-Reply-To: <NDBBKGBBKDPDNFIFCJEJEEDOCHAA.benlutz@datacomm.ch>; from benlutz@datacomm.ch on Tue, Jan 23, 2001 at 10:17:09PM %2B0100
References:  <NDBBKGBBKDPDNFIFCJEJEEDOCHAA.benlutz@datacomm.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 23 January 2001 at 22:17:09 +0100, Benjamin Lutz wrote:
> Talking with a few friends we suddenly noticed that the FreeBSD kernel is
> lots bigger (about 3 times) than the Linux kernel - how so? Also, what
> average kernel size do you guys have?
>

> My FreeBSD box is configured as gateway/NATD/firewall, other than
> that there are not too many bells and whistles. The resulting kernel
> is a whopping 1'932'208 bytes. Is there something obvious I did not
> see?

I have a Linux box here:

[grog@capellorosso /boot]$ ls -l /boot/vmlinux-2.2.16-22 
-rwxr-xr-x    1 root     root      1621492 Aug 23 06:26 /boot/vmlinux-2.2.16-22

That's not very different.  Note that a lot of hardware support in
Linux is done in loadable modules, while FreeBSD has it in the kernel.

> Also... how do I display the total size of all files in a single
> directory?

In general, not by asking two questions at once.  This one should go
to FreeBSD-questions.

> PS: Dont forget to CC your answers to benlutz@datacomm.ch . thanks.

Our convention is to group reply.  Your From: line is correct, but if
it wasn't, you should put in a Reply-To: header.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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