From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 29 22:15:46 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 DCA5D16A4CE for ; Wed, 29 Dec 2004 22:15:46 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB9143D64 for ; Wed, 29 Dec 2004 22:15:46 +0000 (GMT) (envelope-from rionda@gufi.org) Received: from kaiser.sig11.org (82.50.115.31) by vsmtp3.tin.it (7.0.027) id 41C401F10054226F for freebsd-hackers@freebsd.org; Wed, 29 Dec 2004 23:15:45 +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 0C2A462DF for ; Wed, 29 Dec 2004 23:15:42 +0100 (CET) From: Matteo Riondato To: freebsd-hackers@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-iTnCslV98sUySqT0X+/5" Date: Wed, 29 Dec 2004 23:15:40 +0100 Message-Id: <1104358540.2895.10.camel@kaiser.sig11.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port 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 22:15:47 -0000 --=-iTnCslV98sUySqT0X+/5 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 --=-iTnCslV98sUySqT0X+/5 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) iD8DBQBB0yyM2Mp4pR7Fa+wRAnvXAJ4rT4yb392CL8it6EmK1sobs6nmkACgprCn d4s5oUlUvPpMCDWBNv+prBs= =wVbM -----END PGP SIGNATURE----- --=-iTnCslV98sUySqT0X+/5--