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[

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to