From owner-freebsd-small Wed Jul 22 23:58:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA23427 for freebsd-small-outgoing; Wed, 22 Jul 1998 23:58:41 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA23414 for ; Wed, 22 Jul 1998 23:58:27 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id JAA25223; Thu, 23 Jul 1998 09:00:34 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 23 Jul 1998 09:00:34 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Mike Smith cc: Jerome DE VIVIE , freebsd-small@FreeBSD.ORG Subject: Re: netstat with a kernel.kz In-Reply-To: <199807230010.RAA02415@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 22 Jul 1998, Mike Smith wrote: > > Hi, > > > > I have to put up a very small system which need kernel symbols. I use > > dumpnlist, kvm_mkdb, and ROOTMFS from picobsd. I zip all . > > > > Some fuction like kvm_openfiles need the uncompressed /kernel file and, > > i have to run netstat which call kvm_openfiles => problem ! > > > > I have put up a /var/db/kvm_kernel.db and i would like to use it > > instead of the uncompressed /kernel (with the whole MFS inside). > > > > Is it possible ? and how ? > > The correct fix would be to fix netstat to not require this. We would > be happy to accept patches. 8) > > You could also try linking /kernel to /dev/kmem, but I am thinking > that's a bit optomistic... I'm kind of working on this now... I mean, the simplified version of netstat which doesn't stick its little fingers into kernel's brains... I have some working code already (dumping the routing table), the statistics part is much easier than that; well, it just needs some time, and this is a scarce resource for me at the moment... If you want to play with it, I can send you what I've got so far... Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message