Hi

M Lu wrote:
I think my /tmp is just about this size. diff scp-image ssh-image shows they are the same.

Just for your information, this is a test on my WRAP (only 32MB flash though)

This is with gzip on my server

luna > time ssh -2 -l root -i .ssh/identity gatekeeper "dd if=/dev/hda " | gzip -9 > /tmp/foo.bin
63616+0 records in
63616+0 records out

real    0m36.867s
user    0m2.710s
sys     0m0.340s

apparently with gzip on the LEAF box this is not so good:

luna > time ssh -2 -l root -i .ssh/identity gatekeeper "dd if=/dev/hda | gzip -9 -" > /tmp/foo.bin
63616+0 records in
63616+0 records out

real    1m1.352s
user    0m0.350s
sys     0m0.080s

which is confirmed by

gatekeeper: -root-
# date ; gzip - < /dev/hda > /tmp/foo.bin ; date
Thu Jul 21 19:22:02 CEST 2005
Thu Jul 21 19:22:57 CEST 2005

Looks like it's best to just pipe dd to ssh and compress locally.

cheers

Erich



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to