tcpdump (/dev/bpf* permission) in FreeBSD-current

=?big5?q?Patrick=20Dung?= patrick_dkt at yahoo.com.hk
Tue Jul 6 12:04:43 PDT 2004


Only /dev/bpf0 is there at boot time
But when I run tcpdump, it automatically create
/dev/bpf1 (I have multiple NIC).
Running devfs at boot time cannot set the /dev/bpf1,
which is not present.

--- Lowell Gilbert
<freebsd-questions-local at be-well.ilk.org> ¤º®e¡G>
Patrick Dung <patrick_dkt at yahoo.com.hk> writes:
> 
> > There is no way to decided the user/group and
> > permission of the device created. (/etc/devfs.conf
> can
> > be used, but it had to be start after the device
> is
> > created, where it is not created at boot time).
> 
> devfs(8) rules should be automatically applied to
> all devices as
> they're created.  Setting up the rules at boot time
> should be exactly
> what you need.  Is this not happening?
> 
> -- 
> Lowell Gilbert, embedded/networking software
> engineer, Boston area
> 		http://be-well.ilk.org:8088/~lowell/
>  

_________________________________________________________
¥²±þ§Þ¡B¶¼ºq¡B¤p¬P¬P...
®öº©¹aÁn  ±¡¤ß³sô
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/


More information about the freebsd-questions mailing list