Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 21:40:01 +0100
From:      Martijn Pronk <martijn@sillywalks.org>
To:        MaNUaL <manual3000@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Berkeley packet filter device in kernel config
Message-ID:  <6C86A481-7DD3-11D8-83DA-00039346207E@sillywalks.org>
In-Reply-To: <20040324193308.10312.qmail@web40613.mail.yahoo.com>
References:  <20040324193308.10312.qmail@web40613.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Op 24-mrt-04 om 20:33 heeft MaNUaL het volgende geschreven:

> Hi. I am using 5.2.1-RELEASE-p3 and in the GENERIC
> configuration file of the kernel in
> /usr/src/sys/i386/conf there is the following line:
>
> device bpf # Berkeley packet filter
>
> Though, in the FreeBSD handbook it says:
>
> pseudo-device bpf # Berkeley packet filter

The handbook is correct for FreeBSD 4.x but not for 5.x
Read sys/conf/NOTES and/or sys/i386/conf/NOTES for the correct option.

> I have used "device bpf" but there is no /dev/bpf* at
> all...

That's because 5.x uses devfs, the device nodes are created on demand.
If you try a ls -l /dev/bpf0 you'll see that it's there.


> Am i missing something here? How should i define this?
> pseudo-device or device?
device bpf

HTH,

Martijn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C86A481-7DD3-11D8-83DA-00039346207E>