Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2006 10:10:03 +0200
From:      Erik Udo <erik.udo@gmail.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mounting uzip image: Invalid argument
Message-ID:  <45922A5B.3060604@gmail.com>
In-Reply-To: <20061227033900.GB9706@xor.obsecurity.org>
References:  <45903FE1.9070400@gmail.com> <20061227033900.GB9706@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45922A5B.3060604>