non file system based implementation of nio.file

Rémi Forax forax at univ-mlv.fr
Mon Jun 16 02:27:06 PDT 2008


Alan Bateman a écrit :
> Tigran Mkrtchyan wrote:
>>
>>
>> Hi Alan,
>>
>> one of the Chimera goals is to be independent of NFS interface.
>>
>> I have looked java.nio.File.* and my impression is that it's lot o 
>> work to make Chimera compatible with new API. Nevertheless it's 
>> possible and I will definitely try it out. Chimera has FsInodes ( 
>> unique file identifier ) which , you are right , is something like 
>> FileRef. I think extending FileRef, FileSystem, and 
>> FileSystemProvider is the first step.
>>
>> I will try to build jdk7 and let you know. I guess it's a good poof 
>> for the API. Looks very promising.
> If you have cycles to try it out it would be great. Out of curiosity, 
> do you have a link to anywhere that lists the operations you support 
> on FsInodes? In most main stream operating systems a user-mode 
> application cannot address files by inode (or equivalent) although 
> Windows Vista is one case where they have introduced a number of new 
> APIs that access files by the File ID. More examples would be useful 
> to help validate that FileRef can be extended for such cases.
>
> -Alan.
accessing files by id (or inode) at user level wil not bypass security 
which is directory based ?

Rémi



More information about the nio-dev mailing list