From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35525 Path: main.gmane.org!not-for-mail From: Stainless Steel Rat Newsgroups: gmane.emacs.gnus.general Subject: Re: nnml compression: state of the art? Date: Thu, 29 Mar 2001 10:47:08 -0500 Organization: The Happy Fun Ball Brigade Message-ID: <01Mar29.105117est.115281@gateway.intersys.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171255 3550 80.91.224.250 (21 Oct 2002 03:34:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:34:15 +0000 (UTC) Return-Path: Original-Received: (qmail 1714 invoked by alias); 29 Mar 2001 15:47:42 -0000 Original-Received: (qmail 1709 invoked from network); 29 Mar 2001 15:47:42 -0000 Original-Received: from gateway.intersys.com (HELO intersys.com) (198.133.74.253) by gnus.org with SMTP; 29 Mar 2001 15:47:42 -0000 Original-Received: by gateway.intersys.com id <115281>; Thu, 29 Mar 2001 10:51:17 -0500 Original-To: "(ding)" X-Attribution: Rat In-Reply-To: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 30 Xref: main.gmane.org gmane.emacs.gnus.general:35525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35525 * Bill White on Thu, 29 Mar 2001 | Is it possible nowadays to have gnus automatically gzip nnml files | when they're written? I don't know. I haven't used it myself in years. Back then it was read only. Though if you are using nnml you may not get the results you might expect. Depends on your filesystem's block size. For example, if you are using 4K blocks, the smallest chunk of disk that can be allocated is 4K. If a message is 3.9K it will take one 4K block. If you compress it to 2.5K it will still consume one 4K block. So you save nothing. The most efficient thing would be to occasionally run a find command like this: find $HOME/Mail \ -name ".overview" -prune -o \ -name "*.gz" -prune -o \ -type f -size +4k -print | xargs gzip -1 substituting your filesystem's block size in the +4k segment. This will skip compressing .overview files and files that are already compressed. Anything more than minimal compression will not gain you much. | If so, is it then possible for some tool to grep the unzipped files? zgrep -- Rat \ Happy Fun Ball contains a liquid core, Minion of Nathan - Nathan says Hi! \ which, if exposed due to rupture, should PGP Key: at a key server near you! \ not be touched, inhaled, or looked at.