<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
This patch allows one to repeat the '-x' option a third time to stop
rsync from traversing potentially cyclic bind mounts that are on the
same filesystem.<br>
<br>
For example, the following scenario would cyclically traverse the
bind mounts until the OS (Linux in this case) hits a maximum
traversal count, thank goodness. Other OSes may traverse the bind
mount indefinitely...<br>
<br>
<tt>su<br>
cd<br>
mkdir ~/cycle<br>
touch ~/cycle/file.txt<br>
mkdir ~/cycle/cycle<br>
mount -o bind ~/cycle ~/cycle/cycle<br>
rsync -avxx ~/cycle ~/cycle2<br>
</tt><br>
Please let me if there is any feedback on this patch and when/if
this patch can be merged. Thanks!<br>
<br>
-Jeff<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;">Jeff Hansen<br>
</span></font></i></em><em><i><font size="2" face="Arial"><span
style="font-size: 10pt; font-family: Arial;">Card Access,
Inc.</span></font></i></em>
<br>
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;">11778 So. Election Rd., Ste. 260</span></font></i></em>
<br>
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;">Salt Lake City, UT 84020</span></font></i></em>
<br>
<font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;"><a
href="mailto:JHansen@CardAccess-inc.com"><em><i><font
color="black" face="Arial"><span style="font-family:
Arial; color: windowtext; text-decoration: none;">JHansen@CardAccess-inc.com</span></font></i></em></a></span></font>
<br>
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;"><a
href="http://www.cardaccess-inc.com/"><font size="3"
face="Times New Roman"><span style="font-size: 12pt;
font-family: "Times New Roman";">www.CardAccess-inc.com</span></font></a></span></font></i></em>
<br>
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;">801-748-4900 ext 26
(Office)</span></font></i></em>
<br>
<em><i><font size="2" face="Arial"><span style="font-size: 10pt;
font-family: Arial;">801-748-4901 (fax)</span></font></i></em><br>
<br>
</div>
</body>
</html>