Original Tar - With a whole pile of stuff in it... 365 Mb - for everything other than those things I listed.
The qt demos are 20GB for the record. No really.
simon@dev ~/BLDS/buildroot/images $
tar -x -h --hard-dereference -l -f rootfs.tar ./bin ./etc ./lib ./sbin ./usr
(makes the file structure pictured)
simon@dev ~/BLDS/buildroot/images $
tar -c -h --hard-dereference -l -f kindle.tar ./bin ./etc ./lib ./sbin ./usr
Code:
tar: ./etc/resolv.conf: File removed before we read it
tar: ./sbin/mount.ntfs-3g: File removed before we read it
tar: ./sbin/mkfs.ntfs: File removed before we read it
tar: ./sbin/mount.lowntfs-3g: File removed before we read it
Results in a 792 Mb final delivery file. - So I was right about 200 - 250% when it starts to even out with bigger numbers.
Oh and there is our script - happy days.
On the kindle I run
cd /mnt/us; . env.sh at login
where /mnt/us/env.sh contains
Code:
#!/bin/sh
export LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/us/lib:/mnt/us/usr/lib
export PATH=$PATH:/mnt/us/bin:/mnt/us/usr/bin
and that seems to work okay.
Hope that helps someone.
BEFORE:
[root@kindle us]# df
Filesystem 1k-blocks Used Available Use% Mounted on
fsp 3202192 1460688 1741504 46% /mnt/us
AFTER:
[root@kindle us]# df
Filesystem 1k-blocks Used Available Use% Mounted on
fsp 3202192 2094320 1107872 65% /mnt/us
[root@kindle us]#
mount.ntfs and resolve.conf still moan but other than those exceptions - peachy transfer.