On Sun, Aug 30, 2015 at 6:29 PM, Suvayu Ali <fatkasuvayu+linux(a)gmail.com> wrote:
On Mon, Aug 31, 2015 at 02:25:42AM +0200, Suvayu Ali wrote:
> On Sun, Aug 30, 2015 at 01:17:00PM -0600, Chris Murphy wrote:
> > On Sun, Aug 30, 2015 at 1:01 PM, Gordon Messmer
> > <gordon.messmer(a)gmail.com> wrote:
> > > On 08/30/2015 10:30 AM, Chris Murphy wrote:
> > >>
> > >> # rsync -rvnc --delete /brick0 /brick1
> > >>
> > >> I've confirmed that separate devices are mounted to /brick0 and
> > >> /brick1. What I'm seeing for ~ 20 minutes now is only the device
> > >> mounted at brick0 is being accessed, and yet I'm seeing piles of
files
> > >> (verbose option) being listed.
> > >
> > >
> > > Try:
> > > rsync -rvnc --delete /brick0/ /brick1/
> >
> > So it was seeing them as 100% different because... shit.
>
> Interesting, I do not understand this behaviour either. Anyone care to
> elaborate?
[...chomp...chomp...chomp...]
> $ dirdiff foo?/
Forget it, my brain started working after I hit send. Writing the above
as the following makes the distinction clear.
$ dirdiff foo1/ foo2
Pff!
Yes, it's because of this "A trailing slash on the source changes this
behavior to avoid creating an additional directory level at the
destination." So without the trailing / it was creating brick0 in
brick1 (for me).
--
Chris Murphy