From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 27 08:10:08 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 2493916A407 for ; Wed, 27 Dec 2006 08:10:08 +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 C83E813C46D for ; Wed, 27 Dec 2006 08:10:07 +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 4BF02C830; Wed, 27 Dec 2006 10:10:04 +0200 (EET) Message-ID: <45922A5B.3060604@gmail.com> Date: Wed, 27 Dec 2006 10:10:03 +0200 From: Erik Udo User-Agent: Thunderbird 1.5.0.9 (X11/20061226) MIME-Version: 1.0 To: Kris Kennaway References: <45903FE1.9070400@gmail.com> <20061227033900.GB9706@xor.obsecurity.org> In-Reply-To: <20061227033900.GB9706@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: 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: Wed, 27 Dec 2006 08:10:08 -0000 Kris Kennaway wrote: > On Mon, Dec 25, 2006 at 11:17:21PM +0200, Erik Udo wrote: >> 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' > > Looks like you don't have geom_uzip configured, per the manpage. > > Kris geom_uzip configured? I have it loaded in the kernel. Anyway, i solved it by "mount -o to /dev/md0.uzip testi", i didn't need to mount it with mount_cd9660. Perhaps the man page is wrong?