[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    Re: --ignore-case option does not ignore pathname case?
From:       John Pierman <haqthat () gmail ! com>
Date:       2015-07-16 13:45:16
Message-ID: CAB9iK5uyLq27YHXpZXsu80KRMWrNz4y1af0A0NpsWcz+an05ZA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Anyone out there feel like contributing to this feature?
It appears it was marked assigned for 3.1.1 but I didn't see any movement.

https://bugzilla.samba.org/show_bug.cgi?id=10448

On Sun, Jan 26, 2014 at 1:48 PM, Wayne Davison <wayned@samba.org> wrote:

> On Thu, Jan 16, 2014 at 9:48 AM, John Pierman <haqthat@gmail.com> wrote:
>
>> Why is it not ignoring case?
>>
>
> Because you're not running it on a case-ignoring filesystem.  That patch
> is (sadly) only a partially effective set of changes that helps rsync to
> deal with a filesystem that doesn't differentiate upper-/lower-case when
> naming files.  Rsync's main algorithm of probing for files by name (via
> stat) didn't change, and thus it doesn't try to find an alternate name for
> the same file if the filesystem isn't conglomerating them together (and
> indeed, it totally fails to notice if the case on a filename has changed on
> the server compared to the file's name on the receiver).
>
> For a means of fixing this, I'm imaging having the code that is used for
> --delete-during getting modified to notice changes in case and trying to
> fix them (even if rsync isn't doing a delete-during run).  If that were
> done, the patch would probably then be in good enough shape to finally be
> included in the main code.
>
> ..wayne..
>

[Attachment #5 (text/html)]

<div dir="ltr">Anyone out there feel like contributing to this feature?<div>It \
appears it was marked assigned for 3.1.1 but I didn&#39;t see any \
movement.</div><div><br></div><div><a \
href="https://bugzilla.samba.org/show_bug.cgi?id=10448">https://bugzilla.samba.org/show_bug.cgi?id=10448</a><br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 26, 2014 at 1:48 PM, \
Wayne Davison <span dir="ltr">&lt;<a href="mailto:wayned@samba.org" \
target="_blank">wayned@samba.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div \
class="gmail_quote">On Thu, Jan 16, 2014 at 9:48 AM, John Pierman <span \
dir="ltr">&lt;<a href="mailto:haqthat@gmail.com" \
target="_blank">haqthat@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Why is it not ignoring \
case?</div></div></blockquote></div><br></span>Because you&#39;re not running it on a \
case-ignoring filesystem.   That patch is (sadly) only a partially effective set of \
changes that helps rsync to deal with a filesystem that doesn&#39;t differentiate \
upper-/lower-case when naming files.   Rsync&#39;s main algorithm of probing for \
files by name (via stat) didn&#39;t change, and thus it doesn&#39;t try to find an \
alternate name for the same file if the filesystem isn&#39;t conglomerating them \
together (and indeed, it totally fails to notice if the case on a filename has \
changed on the server compared to the file&#39;s name on the receiver).</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">For a means of fixing \
this, I&#39;m imaging having the code that is used for --delete-during getting \
modified to notice changes in case and trying to fix them (even if rsync isn&#39;t \
doing a delete-during run).   If that were done, the patch would probably then be in \
good enough shape to finally be included in the main code.</div><span \
class="HOEnZb"><font color="#888888">

<div class="gmail_extra"><br></div><div class="gmail_extra"><div>..wayne..</div>
</div></font></span></div>
</blockquote></div><br></div>



-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic