Rename file in JNode FS
So far as I can tell the JNode FS API has no concept of renaming (moving) a file or directory. It appears that UnixFileSystem.rename0 method is implemented in by VMFile.renameTo, which assumes that a file is being renamed, as opposed to a directory, and works by copy and delete. The lack of an FS level rename is surprising and I'm curious why?
The context of this question is my use of JNode Ext2 in Project GuestVM (http://research.sun.com/projects/guestvm). I am currently trying to get Hadoop working and it wants to rename a directory.