From owner-freebsd-questions@freebsd.org Sat Dec 5 20:09:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B71BA42DB1 for ; Sat, 5 Dec 2015 20:09:34 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id AE7981D11 for ; Sat, 5 Dec 2015 20:09:33 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 0501E290032C for ; Sat, 5 Dec 2015 18:09:28 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449346172; bh=ZWYU4yAWchhJNyCWl/QDkpreNS1r1TH5EzZd2St5Azk=; h=Date:From:To:Subject:From; b=R01c3AYXOMv7OB0M5mnlC1rI9r3e+WmNlkpdyz8/t3dQD0LSo3Kz1F9oKGodlQdAd 6zxeBQu/R6KczGZu5S3hevtQoYcO10BLW3aox2fwCUyOxlNQQ7PFsk0RJSDRmeDPHi Mz7S+CerRsVxrHNLFfsDckKgJn8oImztwoRojzOk= Date: Sat, 5 Dec 2015 18:11:07 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Cleaning obsolete files after make installworld Message-ID: <20151205201107.GA19335@hpmini> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 20:09:34 -0000 Hi, I have edited /etc/src.conf to remove software which is not useful to me. After compiling and installing the world, I have launched the check-old, delete-old and delete-old-libs targets of /usr/src/Makefile. However, several old files still remain in the system. For example, I have included WITHOUT_INETD in /etc/src.conf, but after peforming the above procedure, the file /usr/sbin/inetd was still there, with a modification time that predates the installation of the system. What is the standard procedure for removing these stale files? I have used the -mtime option of find to locate and remove them, but I doubt this is the recommended approach. Thanks.