From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 29 15:12:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5DDD16A4CE for ; Wed, 29 Dec 2004 15:12:02 +0000 (GMT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE7EC43D2D for ; Wed, 29 Dec 2004 15:12:01 +0000 (GMT) (envelope-from rionda@freesbie.org) Received: from kaiser.sig11.org (82.50.115.31) by vsmtp1.tin.it (7.0.027) id 41CEBADE00162290 for freebsd-hackers@freebsd.org; Wed, 29 Dec 2004 16:11:58 +0100 Received: from localhost.localdomain (localhost [127.0.0.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by kaiser.sig11.org (Postfix) with ESMTP id 638116181 for ; Wed, 29 Dec 2004 16:11:57 +0100 (CET) From: Matteo Riondato To: freebsd-hackers@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-a7gS7PyUCiKYQlrqwK32" Date: Wed, 29 Dec 2004 16:11:56 +0100 Message-Id: <1104333116.2895.3.camel@kaiser.sig11.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port X-Mailman-Approved-At: Thu, 30 Dec 2004 16:05:45 +0000 Subject: Creating Compressed Loop FS from stdin X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 15:12:02 -0000 --=-a7gS7PyUCiKYQlrqwK32 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi folks! I think you know what FreeSBIE is and that we use compressed loop filesystems for /usr and /var directories on our LiveCD.=20 At the moment, to create compressed filesystems, we rely on sysutils/cloop-utils, but I know /usr/bin/mkuzip is present in HEAD and in RELENG_5 and would like to switch to that. However, it seems that I cannot create valid cloopfs with mkuzip. To create the cloop image, I use: /usr/local/bin/mkisofs -lrJL $FREESBIEBASEDIR/usr | /usr/bin/mkuzip -v \ -o $FREESBIEBASEDIR/cloop/usr.cloop -s 65536 /dev/stdin (similar line for /var clooped image) Creation of the clooped images does finish without any error, but I cannot mount it: #kldload geom_uzip #mdconfig -a -t vnode usr.cloop md0 #mount_cd9660 /dev/md0.uzip /mnt mount_cd9660: /dev/md0.uzip: Input/output error Can you give me any hint? Perhaps I'm missing something in the creation of the image. I will provide further information if needed. Thank you in advance. Best Regards --=20 Rionda aka Matteo Riondato GUFI Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) BSD-FAQ-it Main Developer (http://utenti.gufi.org/~rionda) Sent from: kaiser.sig11.org running FreeBSD-6.0-CURRENT --=-a7gS7PyUCiKYQlrqwK32 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBB0sk82Mp4pR7Fa+wRAjLLAJ9C19c0sh2AOwTJ8BGSqWcmUfmDnwCeIVDH N4cbzWY6imrTWKq48j0iYY8= =6z5v -----END PGP SIGNATURE----- --=-a7gS7PyUCiKYQlrqwK32--