Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 09:09:54 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Chuck Robey <chuckr@picnic.mat.net>
Cc:        current@freebsd.org
Subject:   Re: lsof + namecache 
Message-ID:  <312.941094594@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 27 Oct 1999 10:03:24 EDT." <Pine.BSF.4.10.9910270959400.29073-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.9910270959400.29073-100000@picnic.mat.net>, Chuck Rob
ey writes:
>Lsof is broken.
>
>I already wrote Poul about it, but he hasn't seen my email yet, I guess.

I've been busy, your email is sitting in my inbox somewhere, to be dealt
with when I have time.

>Does anyone know the direction this was going in, and what visibility the
>namecache is intended to have?

The namecache is intended to have no visibility from userland.

The fact that lsof (with the aid of libkvm) abuses it doesn't change
this fact.

The lsof functionality should in my opinion be added to the system,
and the necessary hooks should be added to the kernel using sysctl.

As a short term fix, you can remove the "static", but take this as
a first warning:  the namecache implementation is NOT an API.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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