mounting uzip image: Invalid argument
Erik Udo
erik.udo at gmail.com
Wed Dec 27 00:10:08 PST 2006
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?
More information about the freebsd-hackers
mailing list