RE: Cloning a filesystem using the bootldr

From: Hicks, Jamey <Jamey.Hicks_at_hp.com>
Date: Thu, 22 Aug 2002 14:09:30 -0400

> -----Original Message-----
> From: Mark G. Lewis [mailto:Lewis_at_erg.sri.com]
> Sent: Thursday, August 22, 2002 2:13 PM
> To: bootldr_at_handhelds.org
> Cc: Lewis_at_erg.sri.com
> Subject: [Bootldr] Cloning a filesystem using the bootldr
>
>
> Jamey, Sacha,
>
> Did you ever get this (see below) working as documented in
> http://www.handhelds.org/handhelds-faq/filesystems.html#CLONIN
> G-IPAQS???
>
> Can I use bootldr to save the root partition to a CF memory or
> microdrive?
> I'm using 2.18.48 and it does not seem to work.
>
> Thank you
> Mark
>
>
> Example 6. Cloning a filesystem using the bootldr
> The bootldr can write to CF/IDE partitions or to VFAT
> filesytems. Using
> this mechanism, one can make a copy of the root filesystem image.
> boot> copy input=flash:root output=cfa0:/backup.jffs2
> boot> vfat write 0x50040000 /backup.jffs2

I seem to have changed the syntax since I wrote this. I have definitely used it to install jffs2 images:
  boot> vfat ls
  boot> copy hda1:task-bootstrap.jffs2 root

It should also work for backups:
  boot> copy root hda1:backup.jffs2
with the caveat that bootldr can only update files that already exist -- it cannot make new directory entries. Patches to fix that would be accepted.

Jamey
Received on Thu Aug 22 2002 - 18:09:32 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:10:43 EDT