Re: Festplatte kopieren

From: Bernd Walter <ticso(at)cicely12.cicely.de>
Date: Tue, 20 Apr 2004 13:33:46 +0200

On Tue, Apr 20, 2004 at 12:28:51PM +0200, Oliver Fromme wrote:
> Es geht auch mit Bordmitteln, indem Du find+cpio nimmst.
> Das ist nur geringfügig langsamer als cpdup:
> # cd $MOUNT_ALT; find . | cpio -dump $MOUNT_NEU
>
> Wesentlicher Unterschied ist, daß find+cpio immer alles
> kopiert, wohingegen cpdup nur die Sachen rüberschaufelt,
> die im neuen Verzeichnisbaum noch fehlen (daher wird es

Das bist du doch selber schuld, wenn du das mit -u explizit
erzwingst (unconditional).

[268]cicely13# cd /tmp/blah
[269]cicely13# touch test
[270]cicely13# find -d test | cpio -pdvm ../blah2
../blah2/test
0 blocks
[271]cicely13# find -d test | cpio -pdvm ../blah2
cpio: /tmp/blah2/test not created: newer or same age version exists
0 blocks

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd(at)bwct.de                                  info(at)bwct.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 20 Apr 2004 - 13:40:14 CEST

search this site