+ return (files_in_snapshot, dir_in_snapshot, symlinks_in_snapshot, unknown_in_snapshot)
+##
+##def print_scanned_dir_list():
+## global files_in_snapshot
+## global symlinks_in_snapshot
+## print( "scanning dir", 2)
+##
+##
+## for i in range(0, len(files_in_snapshot)):
+## if files_in_snapshot[i]["num_of_hardlinks"]>1:
+## print "inode",files_in_snapshot[i]["inode"],"size",files_in_snapshot[i]["size"],"path:", files_in_snapshot[i]["path"], " num of hard links", files_in_snapshot[i]["num_of_hardlinks"]
+##
+## else :
+## print "inode",files_in_snapshot[i]["inode"],"size",files_in_snapshot[i]["size"],"path:", files_in_snapshot[i]["path"]
+### current_open_file=open(files_in_snapshot[i], "r")
+### #current_open_file.f.read(3)
+### lines_in_file=current_open_file.readlines()
+### #use for loop to write code into yaffs file
+### print "number of line of code:", len(lines_in_file)
+### print current_open_file
+## for i in range(0, len(symlinks_in_snapshot)):
+## print "symlinks in snapshot:", symlinks_in_snapshot[i]
+## for i in range(0, len(dir_in_snapshot)):
+## print "directories in snapshot:", dir_in_snapshot[i]
+## for i in range(0, len(unknown_in_snapshot)):
+## print "unknown objects in snapshot:", unknown_in_snapshot[i]
+##