From owner-freebsd-questions@FreeBSD.ORG Sat Oct 24 01:13:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A161065670 for ; Sat, 24 Oct 2009 01:13:06 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with SMTP id E3B7E8FC14 for ; Sat, 24 Oct 2009 01:13:05 +0000 (UTC) Received: (qmail 72799 invoked from network); 24 Oct 2009 00:46:24 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 24 Oct 2009 00:46:24 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Fri, 23 Oct 2009 18:46:24 -0600 (MDT) Message-ID: Date: Fri, 23 Oct 2009 18:46:24 -0600 (MDT) From: "Peter" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: cpdup always copying files even if they are the same [but diff user] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2009 01:13:06 -0000 iH, If the src and dst files are owned by different users, cpdup copies the file even if it the same. Copying from root -> user it always copies the file Copying from user -> user it notices that the file has not changed. Copying form user -> user1 it always copies the file newserv:$ls -lh cpdup.* -rw-r--r-- 1 root wheel 76B Oct 23 18:29 cpdup.root newserv:$cat cpdup.root cpdup-1.12 A comprehensive filesystem mirroring and backup program newserv:$cpdup -vvv cpdup.root cpdup.user cpdup.user copy-ok newserv:$cpdup -vvv cpdup.root cpdup.user cpdup.user copy-ok newserv:$cpdup -vvv cpdup.user cpdup.user.1 cpdup.user.1 copy-ok newserv:$cpdup -vvv cpdup.user cpdup.user.1 cpdup.user.1 nochange newserv:$/usr/bin/cksum cpdup* 1301364783 76 cpdup.root 1301364783 76 cpdup.user 1301364783 76 cpdup.user.1 newserv:$ls -li cpdup.* 4 -rw-r--r-- 1 root wheel 76 Oct 23 18:29 cpdup.root 13 -rw-r--r-- 1 user wheel 76 Oct 23 18:29 cpdup.user 12 -rw-r--r-- 1 user wheel 76 Oct 23 18:29 cpdup.user.1 The copying takes a lot longer when going from server to server and different users. ]Peter[