[Box Backup-commit] COMMIT r2805 - box/trunk/bin/bbackupd

subversion at boxbackup.org subversion at boxbackup.org
Wed Nov 17 10:28:19 GMT 2010


Author: chris
Date: 2010-11-17 10:28:19 +0000 (Wed, 17 Nov 2010)
New Revision: 2805

Modified:
   box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
Log:
Log the device and inode numbers of directories and their entries while
scanning them, to debug Toke's report of symlinks appearing to be mounts.


Modified: box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
===================================================================
--- box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp	2010-11-17 09:49:39 UTC (rev 2804)
+++ box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp	2010-11-17 10:28:19 UTC (rev 2805)
@@ -165,6 +165,11 @@
 				strerror(errno));
 			return;
 		}
+
+		BOX_TRACE("Stat dir '" << rLocalPath << "' "
+			"found device/inode " <<
+			dest_st.st_dev << "/" << dest_st.st_ino);
+
 		// Store inode number in map so directories are tracked
 		// in case they're renamed
 		{
@@ -315,6 +320,11 @@
 					continue;
 				}
 
+				BOX_TRACE("Stat entry '" << filename << "' "
+					"found device/inode " <<
+					file_st.st_dev << "/" <<
+					file_st.st_ino);
+
 				if(file_st.st_dev != dest_st.st_dev)
 				{
 					if(!(rParams.mrContext.ExcludeDir(




More information about the Boxbackup-commit mailing list