Re: Disk mirroring
badoual loic wrote:
> On Mon, May 14, 2001 at 04:22:56PM +0700, Oki DZ wrote:
> > Martin Würtele wrote:
> > > to copy a filesystem to another you can use cpio:
> > > this will copy you entire rootpartition to /mnt:
> > > find / -xdev | cpio -pm /mnt
> > It would be great if the copying is done incrementally (copy the newer
> > files only).
> cpbk is good for that
Looks like an interesting package, but this bug worries me:
$ sudo cpbk -r -n /dev /tmp/dev
$ ls -la /dev/fd0 /tmp/dev/fd0
brw-rw---- 1 root floppy 2, 0 May 14 11:30 /dev/fd0
-rw-rw---- 1 root floppy 0 May 14 11:30 /tmp/dev/fd0
The original is a block device, but the copy is not.