Bug 10354 - link-by-hash-autodir - use an automatically determined directory to collect the hash-hardlinks
Summary: link-by-hash-autodir - use an automatically determined directory to collect t...
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.1
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2013-12-30 17:45 UTC by Jim Klimov
Modified: 2014-01-19 22:45 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jim Klimov 2013-12-30 17:45:30 UTC
The current link-by-hash functionality requires a DIR argument to specify the directory which would contain the hash hardlinks. I propose adding an option that would automatically determine the directory, to ease automation of this feature. For example (given proper ownership and permissions), the target filesystem's root directory (i.e. "/export/ftp") could be suffixed with a hardcoded value (i.e. +"/" + ".rsync-hash") and the resulting string "/export/ftp/.rsync-hash" would be used automatically for all files pouring into the "/export/ftp" filesystem (as long as the options for the rsync process local to this machine would include the proposed new automation option).
Comment 1 Wayne Davison 2014-01-19 22:45:00 UTC
I see this being a script that someone wraps around rsync to automate the adding of the option.