From owner-freebsd-stable Sun Apr 19 17:31:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22080 for freebsd-stable-outgoing; Sun, 19 Apr 1998 17:31:20 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from cesit1.unifi.it (cesit1.unifi.it [150.217.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA22041 for ; Mon, 20 Apr 1998 00:31:11 GMT (envelope-from ugo@dsi.UNIFI.IT) Received: from aguirre.dsi.unifi.it by CESIT1.UNIFI.IT (PMDF V5.1-10 #23168) with SMTP id <01IW2R7KDD36000FA9@CESIT1.UNIFI.IT> for freebsd-stable@FreeBSD.ORG; Mon, 20 Apr 1998 02:31:38 MET Received: from dsi.unifi.it (com2.unifi.it) by aguirre.dsi.unifi.it (4.1/SMI-4.1) id AA03697; Mon, 20 Apr 1998 02:33:04 +0200 Received: from pegasus.home.net (pegasus.home.net [192.168.1.3]) by dsi.unifi.it (8.8.8/8.8.8) with ESMTP id QAA07799 for ; Sun, 19 Apr 1998 16:05:42 +0200 (MET DST envelope-from ugo) Received: (from ugo@localhost) by pegasus.home.net (8.8.8/8.8.7) id QAA00358 for freebsd-stable@FreeBSD.ORG; Sun, 19 Apr 1998 16:05:42 +0200 (MET DST) Date: Sun, 19 Apr 1998 16:05:42 +0200 (MET DST) From: Ugo Paternostro Subject: How to detect obsolete files after a make world? To: freebsd-stable@FreeBSD.ORG Message-id: Organization: Not an organization MIME-version: 1.0 X-Mailer: XFMail 1.2 [p0] on FreeBSD Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 8bit X-Priority: 3 (Normal) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk [Well, this applies to -current too, but I post here as I run -stable] Is there a way to detect obsolete files/shared libs after a make world other than manually scanning the directories looking for files that do not match the make world date? Every time a so version number is bumped, you end with an old copy of the library in /usr/lib, and every time a program is removed (like lfs some time ago, or sgml tools a lot of time ago) you still retain that copy. Tell me it is possible without "newfs && make reinstall": that's the MircoSoft way :-) What about a very dangerous use of "find / -type f \! -mtime 1 -delete", or similar? ;-) Bye, UP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message