From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116231 invoked by alias); 10 Jul 2018 04:45:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 116168 invoked by uid 89); 10 Jul 2018 04:45:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=nowadays, replying, gtk, explorer X-HELO: mail.avenger.ws Received: from Unknown (HELO mail.avenger.ws) (173.208.129.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 10 Jul 2018 04:45:02 +0000 Received: from [IPv6:2804:14c:5b70:9002:b472:e56f:a088:aa24] (unknown [IPv6:2804:14c:5b70:9002:b472:e56f:a088:aa24]) by mail.avenger.ws (Postfix) with ESMTPSA id 584614E0396 for ; Tue, 10 Jul 2018 01:44:19 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avenger.ws; s=ethereal; t=1531197859; bh=U//q4vyg83IsJvhUUYFNrXw773uv5UVtPKrYJffcGXc=; h=Subject:To:References:From:Date:In-Reply-To; b=VPwBMcdoPvkDEcO50pu641JA4BsiwZNS0OlUxa0DcWLEktCq4knJuhiLgIvxe8uIE peDghfTlgIPxlM7lCmfz0sTFCBEMDS24IjpUpCrUCxv0uRKgbhZ/5RC2ebjxbnYJrc CwzhjZH03nUOBSKZbNWCiKxMeytm7zwgKwHp7qJI= Subject: Re: cleanup disk space To: cygwin@cygwin.com References: <20180708174540.GA32080@rus.uni-stuttgart.de> <23364.12720.381316.199665@gargle.gargle.HOWL> From: Heavenly Avenger Message-ID: <17a2c4c5-8017-de94-4054-710d36f43304@avenger.ws> Date: Tue, 10 Jul 2018 04:45:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <23364.12720.381316.199665@gargle.gargle.HOWL> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00088.txt.bz2 Hello! I maybe am getting the message underway and I don't see the history on the message itself, and you seem to be replying somebody that posted a question before I joined the list. But I believe that if space is a concern there are two main points I can think of: - Selectively installing only packages you need. I do this myself, get rid of any x, gtk, kde, gnome related stuff - Using NTFS compression. You can do this by a per-folder level and compress just given folders (or files) "in-place" without making it unable to run/open the files. NTFS does this compression transparent to the user -- at the cost of additional CPU cycles to decompress the file when a read is attempted. To enable NTFS compression, you can do it for the whole disk. Open explorer, right-click disk, properties, and check the "compress this drive to save disk space" in the dialog that is displayed. You can do this for specific files/folders by right-clicking them, clicking 'properties', then 'advanced' and then checking the compression-specific checkbox that's displayed. This should go smoothly with cygwin... but nowadays I believe the space cygwin spends is negligible comparing to the size of the available disks... Zipping the files with bzip2/gzip/whatever may work for some editors that know to expand the files before opening, but that won't be the case in the majority of the applications. The transparent and native compression should be the best shot to shrink a big and cluttered cygwin installation in no time. Again, for the (potential) cost of performance. Hope this helps! On 7/10/2018 1:10 AM, bzs@theworld.com wrote: > I hesitate to jump in here but what about the common compression > programs cygwin provides like bzip2 and xz? > > Maybe everyone knows about them and clearly you can't do this on files > you actually need to use (e.g., executables, tho looking at /usr/bin > some are 20MB each and if you know you don't actually run them > ever...) And even an error can generally be undone with a simple > uncompress command within reason. Don't compress the respective > uncompress command! > > And zip and tar can be used to package up entire directories or > wildcard matched files in one command. > > And if you find you really don't miss what you packed up they can be > moved off disk entirely to a thumb drive or CD/DVD or whatever for > more savings tho that's also true of the uncompressed versions but zip > or tar archives are particularly handy for this. > > Maybe it's too obvious, apologies. > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple