Is there any highly compressed filesystems [like
squashfs] supported directedly by FreeBSD?
jhary at unsane.co.uk
Mon Oct 30 16:18:12 UTC 2006
Sherry Zhang wrote:
> thx for reply, I think it use cloop. and I know how to mount cloop in
> 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
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
(kldstat -m $m 2>&-||kldload $m)>&-&&mount_cd9660 /dev/`mdconfig -af
hope this helps.
More information about the freebsd-questions