From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 25 21:37:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4714916A407 for ; Mon, 25 Dec 2006 21:37:26 +0000 (UTC) (envelope-from erik.udo@gmail.com) Received: from satakieli.dnainternet.net (satakieli.dnainternet.net [212.149.75.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0E46A13C473 for ; Mon, 25 Dec 2006 21:37:26 +0000 (UTC) (envelope-from erik.udo@gmail.com) Received: from [192.168.1.11] (host-212-149-186-30.kpylaajakaista.net [212.149.186.30]) by satakieli.dnainternet.net (Postfix) with ESMTP id 2777DC932; Mon, 25 Dec 2006 23:17:21 +0200 (EET) Message-ID: <45903FE1.9070400@gmail.com> Date: Mon, 25 Dec 2006 23:17:21 +0200 From: Erik Udo User-Agent: Thunderbird 1.5.0.8 (X11/20061114) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Erik Udo Subject: mounting uzip image: Invalid argument X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Dec 2006 21:37:26 -0000 I'm making a live cd and i just hit a wall with uzip. I started by creating a null 1GB file, which i filled with FreeBSD. After that i compressed the file with mkuzip. Any attempts to mount this compressed image has failed, here is the output of truss when using mount_cd9660 to mount the image: koti# truss mount_cd9660 /dev/md0.uzip testi .... lstat("/stor/livecd/testi",0xbfbfe390) = 0 (0x0) stat("/stor/livecd/testi",0xbfbfe420) = 0 (0x0) open("/dev/md0.uzip",0x0,00) = 3 (0x3) ioctl(3,CHIOGPICKER,0xbfbfe15c) ERR#25 'Inappropriate ioctl for device' close(3) = 0 (0x0) mount("cd9660","/stor/livecd/testi",1,0xbfbfe8c0) ERR#22 'Invalid argument' mount_cd9660: write(2,0xbfbfdd00,14) = 14 (0xe) /dev/md0.uzipwrite(2,0xbfbfdd20,13) = 13 (0xd) : write(2,0x281348d0,2) = 2 (0x2) Invalid argument write(2,0xbfbfdd00,17) = 17 (0x11) exit(0x1) process exit, rval = 256 koti# My system is FreeBSD 6.1-p11. If anyone has any ideas on how to get this working, or what's wrong, please tell me. Cheers, Erik