From owner-freebsd-questions@freebsd.org Sat Feb 23 06:03:47 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57FF81508824 for ; Sat, 23 Feb 2019 06:03:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8C18B743B5 for ; Sat, 23 Feb 2019 06:03:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 4B68E1508823; Sat, 23 Feb 2019 06:03:46 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10CFE1508822 for ; Sat, 23 Feb 2019 06:03:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70B5A743AB for ; Sat, 23 Feb 2019 06:03:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.157.173]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1M9Ib1-1guyEC3JBv-006SEU; Sat, 23 Feb 2019 07:03:35 +0100 Date: Sat, 23 Feb 2019 07:03:35 +0100 From: Polytropon To: Robert Huff Cc: FreeBSD Questions List Subject: Re: size of debug symbols Message-Id: <20190223070335.2bf5fe5e.freebsd@edvax.de> In-Reply-To: <23664.20373.538652.760207@jerusalem.litteratus.org> References: <46040D79-BA05-43F5-9213-67094355B68A@cretaforce.gr> <20190222162801.aa891c03.freebsd@edvax.de> <23664.7343.854264.787515@jerusalem.litteratus.org> <10f6f59f-364e-20bc-0e15-cdb28f1f8d26@qeng-ho.org> <23664.20373.538652.760207@jerusalem.litteratus.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:KlnZCGVlQKGb2Kw9PaXtfPvOtM2J/At9nJaAbkuQYWNmQHh3NL2 69+ym0SnE4EE4gnyBdPPEZBIgQfOuDoRJrtSB6IoZk+aCo1aV99eEdFlhalYEODjb4zhgaU lnOLKUG2mPq/Kf73GOuJgtIJ9O/xdaQYOmFZd2jGfuE6yE/fXV2LMj51yo1bzmryMRxAjT5 UfIp537BJXHmouAKvPVFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PLZqqRU2MNA=:k5GQr+k2w482FT1HokNhf0 hUKOeXFeSyQPLjcGBpF1XuYNfN+OdkF2aqNRO8f31bPT/62OnasEX0lcZTX+eq/irqQUDlsqW k4wElhjDXii9YqrLFWhNrYZfRgdyk8AaOy+pxX50EjuqkJevYF13U1juHkKOAgdKLNGWcVw0K 2QFYbGLtYuqnfJf/0uNwc1jm9GsYqa27arPOpDAB6sWJF4NSmiKjEEojL0UBJkELzYxlCnaen aNj+w78QJ/zaqg81f+pHZaoRO7P7mfVcB+UlK34TnynLZfdEzunwTHO+6gVA/cIJC6bpBT65a LyrHJA+ZcvJ0cG5yBLVtXdjGO3Mhxz9IncHv/KldS29j4trm+iPapkuTTNNuqN++wRJ2yIxnM 2ghosi4uCVHkp6lYGhxYypNtjdnWqHq3eHFnI2LVp+AhSkZj5AoPbuSMhHEDc1n+aZeD8VxAQ sDbDGEgiC2VqOjLKdnxgvrdy/sjgzW1mSSZILxqY36xTsZ1MA1JGJsSWPIMRWeh0012RIWsjd 3bRVXy7zpD0PKYNYMXxnJjoNt4cpzkLx+VZQyyQNY5LOUn/F279hPOqxVuK4rnrMQZ1KWNYFk 65pcUqAAqC/7YgfOsukrLb0Evi5bDCMHIlDNpbLd2tfgqJ18SP5/FGpkXT4th8iZyq3Zx/9Lx sH4Q7ZmgTyy/AmUvtJxxIlJ+/mnzl4VcWYxqe9dbU/s2tdq8lU76WwuySRzEt4oamu+XXRqGV j8wX6DOUUy4K7N7JDG6z8ewBNDQ9B+/YRehV1kdihrygG8tObO6kHYPLAKA= X-Rspamd-Queue-Id: 70B5A743AB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 06:03:47 -0000 On Fri, 22 Feb 2019 14:37:57 -0500, Robert Huff wrote: > > Me: > > > > When I run "make delete-old", I get asked about each individual file. > > > There are a _lot_ of files. > > > Is there a way to say "y" to everything? I know this - > > > technically - incurs a certain amount of risk. But considering Ican't > > > remember any reports of someone getting bit by this it seems like a > > > risk worth taking. > > Two people suggested: > > > Add -DBATCH_DELETE_OLD_FILES to your make invocation. > > Hot dang - it worked! Of course it did, the documentation says so. For reference: 24.8 Deleting obsolete files, directories and libraries [...] We assume you are following the steps outlined in Section 24.7.1. After the make installworld and the subsequent mergemaster commands have finished successfully, you should check for obsolete files and libraries as follows: # cd /usr/src # make check-old If any obsolete files are found, they can be deleted using the following commands: # make delete-old Tip: See /usr/src/Makefile for more targets of interest. A prompt is displayed before deleting each obsolete file. You can skip the prompt and let the system remove these files automatically by using the BATCH_DELETE_OLD_FILES make-variable as follows: # make -DBATCH_DELETE_OLD_FILES delete-old You can also achieve the same goal by piping these commands through yes like this: # yes|make delete-old [...] After you've made sure that all ports are rebuilt and do not use the old libraries anymore, you can delete them using the following command: # make delete-old-libs As I mentioned, the comment header of /usr/src/Makefile is full of paths toward enlightenment. ;-) https://docs.freebsd.org/doc/7.4-RELEASE/usr/share/doc/handbook/make-delete-old.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...