[PATCH] --soften-links option (fwd from md@Linux.IT) Re: rsync and debian mirrors
jw schultz
jw at pegasys.ws
Fri Apr 19 07:27:02 EST 2002
On Fri, Apr 19, 2002 at 06:05:15AM -0700, Martin Pool wrote:
> Any thoughts?
>
> I have half a mind to turn it on by default, but I guess it's better
> not to.
I'm not sure what current behaviour is but I'd be inclined to
say that the default behaviour in this case should be to put a
copy of the file at the link location as though --hard-links
hadn't been specified.
If the default behaviour is to fail to create the link the
error message should mention the --soften-links option.
It might be overkill but i would like a warning generated if
with --hard-links turned on a hard link wasn't preserved as
such.
> +dit(bf(--soften-links)) This option transforms cross-device hard links
> +in symlinks.
May i suggest this be more clear, along the lines of
"Convert a hard link to a symbolic link if on the
destination it would have to span filesystems" Along with a
declaration of the default behaviour.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list