print_message(2,"\n\n\n comparing folders\n");
// check_mode_file("yaffs2/test/YY");
//find out the number of files in the directory
yaffs_open_dir = yaffs_opendir(yaffs_struct.root_path);
if (yaffs_open_dir) {
print_message(2,"\n\n\n comparing folders\n");
// check_mode_file("yaffs2/test/YY");
//find out the number of files in the directory
yaffs_open_dir = yaffs_opendir(yaffs_struct.root_path);
if (yaffs_open_dir) {