From owner-freebsd-stable@FreeBSD.ORG Sun Jun 8 15:06:11 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 124DE37B401 for ; Sun, 8 Jun 2003 15:06:11 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1784043F3F for ; Sun, 8 Jun 2003 15:06:10 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 1792E5311; Mon, 9 Jun 2003 00:06:08 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Kevin Oberman" References: <20030604144331.807B45D08@ptavv.es.net> From: Dag-Erling Smorgrav Date: Mon, 09 Jun 2003 00:06:07 +0200 In-Reply-To: <20030604144331.807B45D08@ptavv.es.net> (Kevin Oberman's message of "Wed, 04 Jun 2003 07:43:31 -0700") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: stable@freebsd.org Subject: Re: Problem with large numbers of bpf devices X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 22:06:11 -0000 "Kevin Oberman" writes: > A STABLE (not updated since 12/13/02) system shows very strange behavior > for devices with a minor mode greater than 256. tcpdump does not work > reliably and ls is, uh, "strange", using hex for the minor mode. Minor numbers are traditionally 8-bit, but FreeBSD has 24-bit minor numbers with a gap between the upper 16 and the lower 8. ls(1) prints 8-bit minors in a format compatible with other unices, and uses the incompatible hex format only for minors above 255. DES -- Dag-Erling Smorgrav - des@ofug.org