views:

324

answers:

4

I do work in computer forensics and am trying to move my codebase from C++ to Java. I need a good open source implementation of all the various filesystems in Java to help this effort. Does anyone know of such an implementation?

A: 
Carl Smotricz
Slower? For what reason?
Thorbjørn Ravn Andersen
Carl Smotricz
We have some forensics code where the Java runs 3x faster than C. If Java is now slower than C in all cases, then it is faster than C in some cases. The signed vs. unsigned thing is a canard.
vy32
A: 

This may be somewhat tangential to your need, but take a look at Fuse-J. It provides Java based bindings for Fuse.

[1] http://sourceforge.net/projects/fuse-j/
[2] http://fuse-j.blogspot.com/2009/01/fuse-j-java-bindings-for-fuse.html

Carl
Neat. Thanks. I think that would allow you to write a FUS system in Java. Of course when you are doing forensics, you really don't want to actually *mount* the disk...
vy32
+9  A: 

There are the file system implementations of the JNode project.

orip
Thanks. I have a collaborator who is using JNODE. He's found that it works okay on filesystems that are intact but not on those with some corruption. And I don't think that it will allow you to access deleted files... Still, it seems like the best thing out there.
vy32
It could be a starting point for tweaking them to work in your case. Might even be a good start to a "Java for forensics" open source project :)
orip
A: 

I'm doing a project on a java based file recovery tool for fat16/32. If you've found a good FAT package for java I'd love to take a look.

Nick
I don't know of one. Please let me know what you find.
vy32
in my never ending search to make life easier for myself instead of actually getting on with my project i discovered this. It may be of some use to you.http://code.google.com/p/fat32-lib/
Nick