From owner-freebsd-questions Sat Dec 22 5:58:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id F336237B405 for ; Sat, 22 Dec 2001 05:58:36 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id DFA872B70C for ; Sat, 22 Dec 2001 14:58:32 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id BBD9B1EF; Sun, 23 Dec 2001 00:58:28 +1100 (EST) Date: Sun, 23 Dec 2001 00:58:28 +1100 From: Edwin Groothuis To: freebsd-questions@freebsd.org Subject: lsof is broken in the name cache hash size bits Message-ID: <20011223005828.A45754@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings, I have a very strange lsof problem right now, it refuses to recognize full path-names on this 4.4-RELEASE: bash 99937 edwin cwd VDIR 116,131077 7680 2976176 /usr (/dev/ad0s1f) bash 99937 edwin rtd VDIR 116,131072 512 2 / bash 99937 edwin txt VREG 116,131077 794216 2277762 /usr (/dev/ad0s1f) bash 99937 edwin 0u VCHR 5,29 0xb9af909 6749 /dev/ttypt bash 99937 edwin 1u VCHR 5,29 0xb9af909 6749 /dev/ttypt bash 99937 edwin 2u VCHR 5,29 0xb9af909 6749 /dev/ttypt bash 99937 edwin 255u VCHR 5,29 0xb9af909 6749 /dev/ttypt while I expect such an answer (copied from a different 4.4-STABLE machine): bash 63390 mavetju cwd VDIR 116,131078 1024 1182464 /home/mavetju bash 63390 mavetju rtd VDIR 116,131072 512 2 / bash 63390 mavetju txt VREG 116,131077 794280 55693 /usr/local/bin/bash bash 63390 mavetju 0u VCHR 5,8 0t3321 9163 /dev/ttyp8 bash 63390 mavetju 1u VCHR 5,8 0t3321 9163 /dev/ttyp8 bash 63390 mavetju 2u VCHR 5,8 0t3321 9163 /dev/ttyp8 bash 63390 mavetju 255u VCHR 5,8 0t3321 9163 /dev/ttyp8 During startup I get a: lsof: WARNING: name cache hash size length error: 0 And removed .lsof_k7 doesn't change a bit (except for two more lines of startup messages: lsof: WARNING: access /usr/home/edwin/.lsof_k7: No such file or directory lsof: WARNING: created device cache file: /usr/home/edwin/.lsof_k7 lsof: WARNING: name cache hash size length error: 0 Up to now (at least before 4.4) this has always worked without a problem. But what I've now I don't understand... Anybody any ideas? Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message