Date: Mon, 30 Oct 2006 16:18:01 +0000 From: Vince <jhary@unsane.co.uk> To: Sherry Zhang <yuleopen@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Is there any highly compressed filesystems [like squashfs] supported directedly by FreeBSD? Message-ID: <454625B9.4060800@unsane.co.uk> In-Reply-To: <68bfdc900610300758r71fc65e7y41f702498387f0fd@mail.gmail.com> References: <68bfdc900610300633l326f6b46oc5bc63b975afd52f@mail.gmail.com> <45461F73.8080909@unsane.co.uk> <68bfdc900610300758r71fc65e7y41f702498387f0fd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?454625B9.4060800>