|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0 |
|
| #
5ca0a96d |
| 28-Dec-2020 |
Sascha Wildner <saw@online.de> |
Remove last remains of FSMID support from userland.
The kernel side was added in 2005 (7d15906a7a159575b1983f7c1fadde4b) and removed again in 2009 (d98152a8b8a4b368ca0e08b84302f2f2).
Approved-by: d
Remove last remains of FSMID support from userland.
The kernel side was added in 2005 (7d15906a7a159575b1983f7c1fadde4b) and removed again in 2009 (d98152a8b8a4b368ca0e08b84302f2f2).
Approved-by: dillon
show more ...
|
| #
49828960 |
| 30-Oct-2020 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Bump version to 1.22
* Bump cpdup version to 1.22 (supporting symlink utimes/etc)
|
| #
2b7dbe20 |
| 30-Oct-2020 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add support for lchmod(), lutimes(), and lchflags()
* Add support for these functions, allowing symlinks to be fully replicated.
* Fix issues when the destination of a rename is chflagged
cpdup - Add support for lchmod(), lutimes(), and lchflags()
* Add support for these functions, allowing symlinks to be fully replicated.
* Fix issues when the destination of a rename is chflagged in a way that causes the rename to fail.
* Delete temporary files when a rename files.
* Set SrcHost/DstHost.version for local sources or targets to make version tests easier.
Reported-by: Oliver Fromme
show more ...
|
|
Revision tags: v5.8.3, v5.8.2, v5.8.1 |
|
| #
3132c289 |
| 29-Apr-2020 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Drop old compatible code for other OSes
The compatible code of cpdup(1) for Linux and other BSDs has been better maintained in its standalone repository: https://github.com/DragonFlyBSD/cp
cpdup(1): Drop old compatible code for other OSes
The compatible code of cpdup(1) for Linux and other BSDs has been better maintained in its standalone repository: https://github.com/DragonFlyBSD/cpdup
So let's drop the old and unmaintained compatible code here.
show more ...
|
| #
66641ee9 |
| 05-Apr-2020 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Move version and authors info to cpdup.h and bump version
Bump the tool version from 1.20 to 1.21 due to the recent microsecond timestamp precision support and protocol version bump.
|
|
Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
| #
7d2302ac |
| 29-Oct-2019 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Minor cleanups
* In 'cpdup.h', remove an inaccurate comment about <strings.h> inclusion. * Change predefined macro '__linux' to '__linux__', meanwhile add an empty define of '__dead2'
cpdup(1): Minor cleanups
* In 'cpdup.h', remove an inaccurate comment about <strings.h> inclusion. * Change predefined macro '__linux' to '__linux__', meanwhile add an empty define of '__dead2' under '__linux__' scope. * In 'hcproto.c', put static variable 'chflags_warning' inside '_ST_FLAGS_PRESENT_' macro scrope.
Referred to the changes I made in the standalone 'cpdup' repo: https://github.com/DragonFlyBSD/cpdup
show more ...
|
|
Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2 |
|
| #
de78d61c |
| 17-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
cpdup(1): Convert to LibreSSL MD5 hash API.
While there, simplify crunchgen by excluding md5 functionality in rescue tools as in btools.
|
|
Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc |
|
| #
a3127495 |
| 09-Dec-2017 |
Sascha Wildner <saw@online.de> |
Add __attribute__((__noreturn__)) to various function prototypes in bin/.
This general cleanup is useful in various ways. It helps the compiler optimize better and it also helps later GCCs detect be
Add __attribute__((__noreturn__)) to various function prototypes in bin/.
This general cleanup is useful in various ways. It helps the compiler optimize better and it also helps later GCCs detect better when to give -Wimplicit-fallthrough warnings and when not.
Found-with: -Wsuggest-attribute=noreturn
show more ...
|
|
Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3 |
|
| #
c81d979c |
| 26-Jun-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - native linux compile
* Add an #ifdef to define away __ specials so a straight build under linux works on unmodified sources.
|
| #
75bd842a |
| 30-May-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - roll 1.18 for ports consumers
* Add the -n option. This is the not-for-real option. cpdup will go through the motions but not actually take any action. Useful for validating a topolog
cpdup - roll 1.18 for ports consumers
* Add the -n option. This is the not-for-real option. cpdup will go through the motions but not actually take any action. Useful for validating a topology without modifying it, e.g. 'cpdup -n -v -VV source target'.
* Fix clang static/global and alignment warnings
* Bump rev to 1.18
* Porters please note that this release has added an __aligned(n) directive to two structures. BSDs and linux's should be able to handle this no-problem but just like __printflike() it is a bit of a departure from standard.
* Ports URL: fetch http://apollo.backplane.com/FreeBSDPorts/cpdup-1.18.tar.gz
Submitted-by: (static/global fixes) "Eitan Adler" <lists@eitanadler.com> Submitted-by: (n-option & alignment fixes) dillon Testing-by: "Eitan Adler" <lists@eitanadler.com>
show more ...
|
|
Revision tags: v3.4.2 |
|
| #
698d0b11 |
| 05-May-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - add -n (not-for-real) option
* Add cpdup -n, which causes cpdup to go through the motions but not actually make any modifications.
|
|
Revision tags: v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
| #
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0 |
|
| #
4e5a90d5 |
| 25-Nov-2009 |
Michael Neumann <mneumann@ntecs.de> |
Merge branch 'master' of git://git.dragonflybsd.org/dragonfly
|
| #
8f0e7bc1 |
| 24-Nov-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch
* Add -F<ssh-opt>, allow arbitrary options to be passed to ssh.
* Ignore UFS2 snapshots (FreeBSD)
* Add missing #include (F
cpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch
* Add -F<ssh-opt>, allow arbitrary options to be passed to ssh.
* Ignore UFS2 snapshots (FreeBSD)
* Add missing #include (FreeBSD)
Submitted-by: Oliver Fromme <olli@fromme.com>
show more ...
|
|
Revision tags: v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1 |
|
| #
c065129d |
| 25-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no lon
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no longer force a copy if they differ but the mtime and size are the same. Generate a single warning instead.
Reorder the call to setutimes to occur after chown/chmod instead of before, and to occur after a chflags call if IMMUTABLE is not set.
show more ...
|
| #
17e9c4cc |
| 25-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no lon
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no longer force a copy if they differ but the mtime and size are the same. Generate a single warning instead.
Reorder the call to setutimes to occur after chown/chmod instead of before, and to occur after a chflags call if IMMUTABLE is not set.
show more ...
|
|
Revision tags: v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
| #
975200d7 |
| 14-Apr-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix multiple issues with -p<parallel>, including several data corruption issues.
* Use malloc'd buffers instead of static buffers * Fix memory leaks * Fix races with hardlink tracking structures * F
Fix multiple issues with -p<parallel>, including several data corruption issues.
* Use malloc'd buffers instead of static buffers * Fix memory leaks * Fix races with hardlink tracking structures * Fix bug in remote mknod (it wasn't creating the node on the remote host) * Fix stack blowouts from deep recursions by starting a new thread. * Postpend the pid for tmp file creation.
show more ...
|
| #
44dd1628 |
| 11-Apr-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
More cpdup work.
* Add -C which is passed down to ssh to turn on compression. * Fix a race condition in the hardlink handling code that could occur w/ -pN * Fix a deadlock in the socket read code.
More cpdup work.
* Add -C which is passed down to ssh to turn on compression. * Fix a race condition in the hardlink handling code that could occur w/ -pN * Fix a deadlock in the socket read code. The connection's read mutex must be released before the master mutex can be re-acquired. * Reduce the I/O block size when running parallel threads to try to avoid blocking on write().
show more ...
|
| #
a2dc574c |
| 10-Apr-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Add parallel transaction support for remote source or target specifications. The implementation is a bit crude because I don't want to take too many chances on a codebase that wasn't originally desig
Add parallel transaction support for remote source or target specifications. The implementation is a bit crude because I don't want to take too many chances on a codebase that wasn't originally designed to be multi-threaded, so the master mutex is only released when a thread is waiting for input on a socket.
* Add the -p<threads> option and compile -pthread by default. This is only useful when the source and/or destination is a remote host. Note that parallel transaction mode will not work with older cpdup binaries on the remote end.
This greatly improves cpdup's performance when operating on a remote source and/or target.
* Add -l to force stdout and stderr to be line-buffered.
show more ...
|
| #
d5fdcd00 |
| 22-Mar-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Miscellanious features and adjustments to cpdup.
* Add the -V option to cpdup. If specified cpdup will verify the contents of regular files which otherwise appear to be the same.
* Only MD5 regu
Miscellanious features and adjustments to cpdup.
* Add the -V option to cpdup. If specified cpdup will verify the contents of regular files which otherwise appear to be the same.
* Only MD5 regular files.
* Separate out target bytes read from source bytes read, and do not count the stat structure as bytes read.
* Track the number of hard-links created and report in -I output.
show more ...
|
| #
71de6efc |
| 18-Aug-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix a memory leak and greatly reduce the memory allocated when remembering hardlinked files.
|
| #
4d858d58 |
| 13-Aug-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Add a remote host capability for both the source and target directory specifications. A specification in the form user@host:path will initiate a ssh link to the remote machine and attempt to run a c
Add a remote host capability for both the source and target directory specifications. A specification in the form user@host:path will initiate a ssh link to the remote machine and attempt to run a cpdup slave.
The protocol is not all that fast but it is a good start. The cpignore and md5 features are not currently available for remote sources and the fsmid feature is not currently available for remote targets. However, the incremental backup feature (-H) *IS* available.
The code is currently considered to be highly experimental and does not yet adjust for mismatched byte orderings (but the protocol is designed to make this possible in the future).
show more ...
|
| #
577109ea |
| 25-Apr-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Separate the MD5 code into its own module.
Add -k/-K to have cpdup use the experimental FSMID to detect changes, allowing it to shortcut whole directory subhiearchies.
It should be noted that using
Separate the MD5 code into its own module.
Add -k/-K to have cpdup use the experimental FSMID to detect changes, allowing it to shortcut whole directory subhiearchies.
It should be noted that using cpdup with a NFS or other remote filesystem as the source with this option will not work, since the NFS client cannot currently detect if the server (or some other client) has modified a file or directory.
show more ...
|
| #
58860d7d |
| 25-Aug-2004 |
Matthew Dillon <dillon@dragonflybsd.org> |
Minor cleanups. Also, change various exit(10) codes to exit(1).
Submitted-by: "Douwe Kiela" <virtus@wanadoo.nl>
|
| #
3a42736d |
| 01-Dec-2003 |
Matthew Dillon <dillon@dragonflybsd.org> |
Add cpdup to /bin (not /usr/bin), so we can start using it during boot to simplify things like diskless booting.
|