From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 02:09:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5963D16A422 for ; Sun, 5 Feb 2006 02:09:36 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC93043D46 for ; Sun, 5 Feb 2006 02:09:35 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id k1529ZCF036622; Sat, 4 Feb 2006 20:09:35 -0600 (CST) (envelope-from dan) Date: Sat, 4 Feb 2006 20:09:35 -0600 From: Dan Nelson To: Xn Nooby Message-ID: <20060205020934.GA97721@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: cloop or zisofs or a better way? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 02:09:36 -0000 In the last episode (Feb 04), Xn Nooby said: > I'm looking for a way to compress about 20GB of ASCII data in to a > read-only file that is as small as possible. I found 'cloop' and > 'zisofs', though I could not find anything on the net where FreeBSD > people were using them. They are in the ports tree, so I figure > somebody is. Is there a preferred way under FreeBSD of doing this? > I've heard of people using "loopback" connections, and I guess that's > what cloop is. Or maybe there is a way to mount a tgz file? I'm > using FreeBSD 6.x. > > Also, is there a crossplatform way of doing this? For example, if I > had a compressed volume, would I be able to read it under Linux and > maybe Windows? I dont really need crossplatform, but was curious. You can also use the mkuzip command (and the geom_uzip kernel module) in the base system, which generates the same file format as Linux cloop files but is much more memory-efficient than cloop's create_compressed_fs program. I don't think there is any Windows support for mounting compressed filesystem images (I can't even find Windows tools for mounting filesystem images in general apart from daemontools which only does ISO images). -- Dan Nelson dnelson@allantgroup.com