From owner-freebsd-current Fri May 15 13:35:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29359 for freebsd-current-outgoing; Fri, 15 May 1998 13:35:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29340 for ; Fri, 15 May 1998 13:35:44 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id PAA03073; Fri, 15 May 1998 15:35:38 -0500 (EST) (envelope-from toor) Message-Id: <199805152035.PAA03073@dyson.iquest.net> Subject: Re: libc corruption In-Reply-To: from Kris Kennaway at "May 15, 98 11:50:37 pm" To: kkennawa@physics.adelaide.edu.au (Kris Kennaway) Date: Fri, 15 May 1998 15:35:38 -0500 (EST) Cc: current@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway said: > [morden|root] 23:39 ~/trash strings libc.a | grep SYS > SYS_nlstat > SYS_nfstat > SYS_nstat > SYS_netbsd_msync > SYS_lutimes > SYS_netbsd_lchown > SYS_lchmod > SYS_getdents > SYS_futimes > > (~/trash holds the corrupted version) > > I cant seem to find these symbols defined anywhere in the > /usr/src/lib/libc tree - any ideas where they came from? Anyone want to > take a look at the strange library? :-) I'm running softupdates on this > partition - it's possible there was some kind of corruption there. > Those are symbols created from the kernel list of system calls. > > Alternatively, if there's an easier way to do the above, could someone > point it out in case I'm in this situation again? > Always save off a working root/usr filesystem (I use a spare partition.) Recovery is still painful, but that is what I do. Also, when heavily developing, I don't use shared libs much, except for ports and X. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message