I am attempting to make a FreeSBIE USB image for a 4GB flash disk (based on RELENG_6) but I am running into trouble with the size of my /usr (I have a lot of stuff there) - it's 4.5GB uncompressed. From what I can see the code uses blocks which means I shouldn't be running into problems with 32 bit ints yet. Here's a log of what I've tried.. negrocreek:/tmp/freesbie2>sudo mkuzip -v -s 65536 -o /tmp/freesbie-clone/uzip/usr.uzip /tmp/freesbie-clone/uzip/usr.ufs ... cluster #84376, in 65536 bytes, out 47911 bytes cluster #84377, in 65536 bytes, out 24655 bytes padding data with 391 bytes so that file size is multiple of 512 compressed data to 1521671168 bytes, saved 4008097792 bytes, 72.48% decrease. negrocreek:/tmp/freesbie2>ll /tmp/freesbie-clone/uzip/ total 6277776 -rw-r--r-- 1 root wheel 5529768960 Jul 31 13:05 usr.ufs -rwxr-xr-x 1 root wheel 1521671168 Jul 31 14:11 usr.uzip* negrocreek:/tmp/freesbie2>sudo mdconfig -a -t vnode -f /local0/tmp/freesbie-clone/uzip/usr.ufs md0 negrocreek:/tmp/freesbie2>sudo mount -o ro /dev/md0 /mnt negrocreek:/tmp/freesbie2>ls -la /mnt total 58 drwxr-xr-x 16 root wheel 512 May 31 15:32 ./ drwxr-xr-x 23 root wheel 512 Jun 8 04:45 ../ drwxrwxr-x 2 root operator 512 Jul 31 11:07 .snap/ drwxr-xr-x 14 root wheel 512 Jun 19 07:21 X11R6/ drwxr-xr-x 2 root wheel 7168 Jun 19 07:06 bin/ drwxr-xr-x 2 root wheel 512 Jun 19 06:49 games/ drwxr-xr-x 47 root wheel 4608 Jun 19 06:49 include/ drwxr-xr-x 4 root wheel 6656 Jun 19 06:50 lib/ drwxr-xr-x 2 root wheel 6656 Jun 19 06:50 lib32/ drwxr-xr-x 5 root wheel 512 May 31 15:29 libdata/ drwxr-xr-x 5 root wheel 1536 Jun 19 06:50 libexec/ drwxr-xr-x 20 root wheel 512 Jun 19 07:16 local/ drwxr-xr-x 2 root wheel 512 May 31 15:29 obj/ drwxr-xr-x 2 root wheel 4608 Jun 19 06:50 sbin/ drwxr-xr-x 27 root wheel 512 May 31 15:29 share/ drwxr-xr-x 2 root wheel 512 May 31 15:29 src/ negrocreek:/tmp/freesbie2>sudo umount /mnt sudnegrocreek:/tmp/freesbie2>sudo mdconfig -d -u 0 negrocreek:/tmp/freesbie2>sudo mdconfig -a -t vnode -f /local0/tmp/freesbie-clone/uzip/usr.u usr.ufs usr.uzip* negrocreek:/tmp/freesbie2>sudo mdconfig -a -t vnode -f /local0/tmp/freesbie-clone/uzip/usr.uzip md0 negrocreek:/tmp/freesbie2>sudo mount -o ro /dev/md0.uzip /mnt negrocreek:/tmp/freesbie2>ll /mnt ls: X11R6: Input/output error ls: bin: Input/output error ls: games: Input/output error ls: include: Input/output error ls: lib32: Input/output error ls: libdata: Input/output error ls: libexec: Input/output error ls: local: Input/output error ls: obj: Input/output error ls: sbin: Input/output error ls: share: Input/output error ls: src: Input/output error total 10 drwxrwxr-x 2 root operator 512 Jul 31 11:07 .snap/ drwxr-xr-x 4 root wheel 6656 Jun 19 06:50 lib/ negrocreek:/tmp/freesbie2>dmesg | tail g_vfs_done():md0.uzip[READ(offset=5008834560, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=2119188480, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=1348616192, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=1733902336, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5009620992, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5009620992, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5009686528, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5202378752, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5202378752, length=16384)]error = 5 g_vfs_done():md0.uzip[READ(offset=5202460672, length=16384)]error = 5 Any suggestions? :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070806/416d5aaa/attachment.pgp