This seems to fix it, but I'm not certain this is correct?
Should / on jffs2 have neither inode nor dirent added?
--- mkfs.jffs2.c	2001/09/17 13:43:32	1.16
+++ mkfs.jffs2.c	2001/09/24 17:37:40
@@ -924,10 +924,11 @@
 		name = tmp_dir->name;
 		sb = tmp_dir->sb;
 		if (!tmp_dir->parent) {
+			/* Cope with the root directory */
 			ino = highest_ino++;
-			debug_msg("writing '/' ino=%lu", (unsigned long) ino);
-			output_pipe(ino, &sb);
-			write_dirent(ino, version++, ino, timestamp, DT_DIR, name);
+			debug_msg("writing '%s' ino=%lu", name, (unsigned long) ino);
+			//output_pipe(ino, &sb);
+			//write_dirent(ino, version++, ino, timestamp, DT_DIR, name);
 			tmp_dir = tmp_dir->next;
 			continue;
 		}
 -Erik
-- Erik B. Andersen email: andersee@debian.org, formerly of Lineo --This message was written using 73% post-consumer electrons-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/