Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2006 23:17:21 +0200
From:      Erik Udo <erik.udo@gmail.com>
To:        freebsd-hackers@freebsd.org
Cc:        Erik Udo <erik.udo@gmail.com>
Subject:   mounting uzip image: Invalid argument
Message-ID:  <45903FE1.9070400@gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45903FE1.9070400>