Bug 10354 - link-by-hash-autodir - use an automatically determined directory to collect the hash-hardlinks
link-by-hash-autodir - use an automatically determined directory to collect t...
Status: RESOLVED WONTFIX
Product: rsync
Classification: Unclassified
Component: core
3.1.1
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-30 17:45 UTC by Jim Klimov
Modified: 2014-01-19 22:45 UTC (History)
0 users

See Also:


Attachments

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.