<div dir="ltr">On Thu, May 16, 2013 at 12:33 PM, Shachar Shemesh <span dir="ltr"><<a href="mailto:shachar@shemesh.biz" target="_blank">shachar@shemesh.biz</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
    
  
  <div style="direction:ltr" bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div><span style="color:rgb(34,34,34)">My personal solution is to bind-mount the root of the file system to
    a neutral location, and rsync from there.</span></div></div></div></blockquote><div><br></div><div style>That's a great solution!  The only negative I can see is for a non-admin who doesn't have permission to do the temporary bind mount.</div>

<div style><br></div><div style>For those that need a non-privileged method, check out the mnt-excl perl script in the support directory -- it provides a method of generating excludes from /proc/mounts.  Its comments also mention an even simpler, filter-option-based solution that will work for some setups (since filters support absolute paths).</div>

</div><br>..wayne..
</div></div>