From owner-freebsd-chat Wed Jan 3 10: 6:24 2001 From owner-freebsd-chat@FreeBSD.ORG Wed Jan 3 10:06:22 2001 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 48F1137B400 for ; Wed, 3 Jan 2001 10:06:22 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f03I6Dq04416; Wed, 3 Jan 2001 10:06:14 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200101031806.f03I6Dq04416@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Greg Lehey Cc: Brett Glass , Doug White , "G. Adam Stanislav" , Andre Albsmeier , chat@FreeBSD.ORG Subject: Re: Removing GNU from kernel In-Reply-To: <20010103214647.W4336@wantadilla.lemis.com> Date: Wed, 03 Jan 2001 10:06:13 -0800 From: Peter Wemm Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Lehey wrote: > On Wednesday, 3 January 2001 at 1:57:45 -0800, Peter Wemm wrote: > > Greg Lehey wrote: > >> On Tuesday, 2 January 2001 at 16:00:42 -0700, Brett Glass wrote: > >>> At 03:17 PM 1/2/2001, Doug White wrote: > >>> > >>>> ps/top/friends are probably busted now. > >>>> > >>>> You can't strip the symbols from the kernel or you get this. > >>> > >>> Ouch. Is it possible to leave just the necessary symbols? > >> > >> That's what we do. > > > > No we dont. top (among other things) use some static symbols which strip(8) > > removes. > > You're missing the point. That's why we don't remove them. Or are > you saying that top doesn't work? Reread the quoted messages above. It was asked "is it possible to leave just the necessary symbols". You said "we do", but we dont. It is fairly easy to do this though. We just need to remove a couple of 'static' declarations and then top etc will work with a stripped kernel. Strip only removes one of the two symbol tables. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message