[prev in list] [next in list] [prev in thread] [next in thread] 

List:       familiar
Subject:    Re: [Familiar] Any utility to make backups?
From:       Oliver Fels <oliver.fels () gmx ! net>
Date:       2002-07-31 12:05:47
Message-ID: 200207311405.47376.oliver.fels () gmx ! net
[Download RAW message or body]

J.Manrique Lopez wrote:

> Yes, I was thinking about it, could you provide any
> howto link for reading?

The best would be to look at a place like http://www.linuxdoc.org or similar 
into the man pages on how dd and nc work.

In short terms, you need to read out the flash memory block wise using 
something like
dd if=/dev/mtdblock/1 bs=1024 count=<size_of_partition_in kB> 
of=<destination_filesystem>

This generates a jffs file at the destination specified.

However, it proves to be difficult to find 16M free storage in a file system 
without a storage card inserted.

For this you can pipe the jffs file into netcat. netcat takes data from stdin 
and transfers it to a waiting server via tcp/ip like that:

dd if=/dev/mtdblock/1 bs=1024 count=<size_of_partition_in kB> | nc <options>

Please have a look at the man pages of nc to see how it works.

Oliver

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic