From owner-freebsd-questions@FreeBSD.ORG Mon Oct 30 16:18:12 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 C3D9816A4AB for ; Mon, 30 Oct 2006 16:18:12 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane.co.uk [62.140.220.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99EF343D80 for ; Mon, 30 Oct 2006 16:18:10 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.13.7/8.13.3) with ESMTP id k9UGI8Tb066772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Oct 2006 16:18:08 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <454625B9.4060800@unsane.co.uk> Date: Mon, 30 Oct 2006 16:18:01 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061017) MIME-Version: 1.0 To: Sherry Zhang References: <68bfdc900610300633l326f6b46oc5bc63b975afd52f@mail.gmail.com> <45461F73.8080909@unsane.co.uk> <68bfdc900610300758r71fc65e7y41f702498387f0fd@mail.gmail.com> In-Reply-To: <68bfdc900610300758r71fc65e7y41f702498387f0fd@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Is there any highly compressed filesystems [like squashfs] supported directedly by FreeBSD? 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: Mon, 30 Oct 2006 16:18:12 -0000 Sherry Zhang wrote: > Vince > thx for reply, I think it use cloop. and I know how to mount cloop in > GNU/Linux > just mount -t cloop will do . but how can I do it in freebsd? > Sherry Zhang > Freesbie does use geom_uzip (i had a quick look at their wiki) Been a while since i used linux's loopback fs stuff. But i think the equivalent is mdconfig. To manually mount (not use the script embedded in the image mkuzip makes) a uzip image, try kldload geom_uzip mdconfig -af $uzip_file mount -t cd9660 /dev/$created_md_device /$mountpoint or as the script in the created uzip image rather more succinctly puts it #!/bin/sh #V2.0 Format m=geom_uzip (kldstat -m $m 2>&-||kldload $m)>&-&&mount_cd9660 /dev/`mdconfig -af $0`.uzip $1 exit $? hope this helps. Vince