Hi Lars,

for a 1-time clone to an identical CF dd will probably do, just check
that it is indeed bootable after the dd, or run installboot(8)
afterwards.

For periodical "cloning" (i.e. mirroring) I'd use rsync, which is very
conservative when it comes to writes (no, let's not start that CF
w-cycle discussion again - it may also save lots of time;).

In that case the second CF needs to have an fs and to be mounted, and
there may be issues with /var (not necessarily - PID files in /var/run
are removed at boot time, for example). You'll need to test and possibly
refine the procedure (rsync supports pattern-based file exclusion, for
example).

In my experience, except possibly for the trailing slash quirk (make
sure that your informed about that one, see rsync(1):USAGE), it's the
best tool available for jobs like this.

Hope that this message contains at least a few things you didn't already
know,

Bill

On Sun, 2008-05-11 at 16:46 +0300, Lars Noodén wrote:
> I've got an OpenBSD 4.3 system on 1GB CF that I would like to clone to
> another CF.
> 
> What are some good/easy methods?
> 
> dd?
> 
> 
> 
> Regards,
> -Lars
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech@lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
> 

_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to