Martin Pool
2002-Apr-19 06:06 UTC
[PATCH] --soften-links option (fwd from md@Linux.IT) Re: rsync and debian mirrors
Any thoughts? I have half a mind to turn it on by default, but I guess it's better not to. -- Martin -------------- next part -------------- An embedded message was scrubbed... From: Marco d'Itri <md@Linux.IT> Subject: Re: rsync and debian mirrors Date: Fri, 19 Apr 2002 14:58:58 +0200 Size: 4416 Url: http://lists.samba.org/archive/rsync/attachments/20020419/b22ddd1a/attachment.eml
jw schultz
2002-Apr-19 07:27 UTC
[PATCH] --soften-links option (fwd from md@Linux.IT) Re: rsync and debian mirrors
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@pegasys.ws Remember Cernan and Schmitt
Jos Backus
2002-Apr-19 09:21 UTC
[PATCH] --soften-links option (fwd from md@Linux.IT) Re: rsync and debian mirrors
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.Looks good to me; I can imagine how this could be useful. I would not turn it on by default because the default behavior alerts the user to the fact that file filesystem organization is different, and the user should consciously choose to have rsync cater for this situation. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer;