non file system based implementation of nio.file
Tigran Mkrtchyan
tigran.mkrtchyan at desy.de
Mon Jun 16 03:10:12 PDT 2008
you can have a look here:
http://www.dcache.org/WebSVN/filedetails.php?repname=Chimera&path=%2Ftrunk%2Forg%2Fdcache%2Fchimera%2FFsInode.java
Currently it' more like mix of FileRef and FileSystem which can be
cleaned up if necessary.
Tigran.
Alan Bateman wrote:
> 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.
--
________________________________________________________________________
Tigran Mkrtchyan DESY, IT,
tigran.mkrtchyan at desy.de Notkestrasse 85,
Tel: + 49 40 89983946 Hamburg 22607,
Fax: + 49 40 89984429 Germany.
More information about the nio-dev
mailing list