Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 00:58:28 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-questions@freebsd.org
Subject:   lsof is broken in the name cache hash size bits
Message-ID:  <20011223005828.A45754@k7.mavetju.org>

next in thread | raw e-mail | index | archive | help
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




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