Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 00:06:07 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        stable@freebsd.org
Subject:   Re: Problem with large numbers of bpf devices
Message-ID:  <xzpisrgfcmo.fsf@flood.ping.uio.no>
In-Reply-To: <20030604144331.807B45D08@ptavv.es.net> (Kevin Oberman's message of "Wed, 04 Jun 2003 07:43:31 -0700")
References:  <20030604144331.807B45D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Kevin Oberman" <oberman@es.net> 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



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