Hi together,

I try to backup the nand rootfs using mkfs.ubifs via ssh (in analogy to the 
commands the NeoTool uses to backup jffs2 based installations). 
So far the process fails as I did not find a solution how to write the output 
of mkfs.ubifs to stdout. Secnond try was to run mkfs.ubifs with "-o 
/media/card/backup/rootfs.ubi" but this produced the following error:

Error: output file cannot be in the UBIFS root directory


Here is the process I try to accomplish:
mkdir /var/tmp/root; mount -t ubifs ubi0:om-gta02-rootfs /var/tmp/root
mkfs.ubifs -m 2048 -e 129024 -c 2047 -d /var/tmp/root  -x lzo -o 
/media/card/backup/rootfs_`date +%Y%m%d%H%M%S`.ubi
umount  /var/tmp/root

Even better would be to run this command through ssh....


Thanks for your advice, tips and ideas....

--
[email protected]

 Lubarsky's Law of Cybernetic Entomology:
   There's always one more bug.
 
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to