From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:04:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB6116A4CE for ; Tue, 6 Jul 2004 19:04:42 +0000 (GMT) Received: from web51804.mail.yahoo.com (web51804.mail.yahoo.com [206.190.38.235]) by mx1.FreeBSD.org (Postfix) with SMTP id 634E843D31 for ; Tue, 6 Jul 2004 19:04:42 +0000 (GMT) (envelope-from patrick_dkt@yahoo.com.hk) Message-ID: <20040706185701.13649.qmail@web51804.mail.yahoo.com> Received: from [203.168.166.82] by web51804.mail.yahoo.com via HTTP; Wed, 07 Jul 2004 02:57:01 CST Date: Wed, 7 Jul 2004 02:57:01 +0800 (CST) From: =?big5?q?Patrick=20Dung?= To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org In-Reply-To: <444qolxmrz.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 07 Jul 2004 12:27:05 +0000 Subject: Re: tcpdump (/dev/bpf* permission) in FreeBSD-current X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2004 19:04:43 -0000 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 內容:> Patrick Dung 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/ > _________________________________________________________ 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/