About .uzip

I have a question related to uzip file format.

I searched over the internet and what I found is if I want to make this format, I must use the mkuzip command, so I can mount it during boot time by using geom_uzip.

What I want to know is, what should I do if I want to extract, or decompress .uzip files after logging in to my FreeBSD account and not in boot time like geom_uzip, so I can edit my file again that was already compressed in .uzip format?

Thanks.
 
Thanks for answering my question.

I already tried your method with the command like:
[cmd=]gzip -d usr.uzip[/cmd] and I got an error message that said
Code:
unknown suffix -- ignores
I tried again with:
[cmd=]gzip -S uzip -d usr.uzip[/cmd] and I got an error message that said
Code:
usr.uzip: not in gzip format

Is there anything wrong with the way I do it?
 
Try this:

# kldload geom_uzip.ko
# mdconfig -a -t vnode -f /path-to-file/usr.uzip -u 0
# mount -r -t ufs /dev/md0.uzip /mnt/miuzip/

This is the process to watch it on a running FreeBSD but in a live CD, it is called as a simple script with sh. In fact you can check out the script of the big file with a head command.

;)
 
Back
Top