From owner-freebsd-current Sun Oct 11 01:03:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00227 for freebsd-current-outgoing; Sun, 11 Oct 1998 01:03:34 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA00218 for ; Sun, 11 Oct 1998 01:03:29 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.1/8.9.1) id KAA09151; Sun, 11 Oct 1998 10:03:10 +0200 (SAT) From: John Hay Message-Id: <199810110803.KAA09151@zibbi.mikom.csir.co.za> Subject: Re: /usr/include/sys/cam/scsi... In-Reply-To: <199810110742.JAA22541@gratis.grondar.za> from Mark Murray at "Oct 11, 98 09:42:50 am" To: mark@grondar.za (Mark Murray) Date: Sun, 11 Oct 1998 10:03:10 +0200 (SAT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 > > >cd /usr/include; find . -type f -ctime +N -delete > > > > > >Where N (in days) is chosen to be a bit longer than the number of days > > >between now and your last "make world". > > > > Don't do that. Includes are installed by `install -C', so most of them > > should be very old. > > Huh!!?? Why does it work, then? Because you did a make installworld (or something to that effect) just after that? (Or at least before you needed one of the includes that you have deleted.) What I do once in a while to get rid of old stuff is something like this: cd /usr/src make world mv /usr/include /usr/include.old mv /usr/share /usr/share.old make -m share/mk installworld rm -rf /usr/include.old /usr/share.old This will give me a clean /usr/include and /usr/share. Then for the rest of the directories (/bin /sbin /lkm /usr/{bin,sbin,libdata,libexec,lib}) I just look for the old ones and remove them with find. John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message