[Gluster-devel] Reading GFID from libgfapi (unprivileged)

Anand Avati anand.avati at gmail.com
Wed Jul 10 06:26:11 UTC 2013


Louis,
 I am guessing you might be working on Java bindings? There has some work
already happened here - https://github.com/avati/glusterfs/commits/java. It
will be great if we can collaborate. Copying Brad who is also looking into
Java bindings for gfapi.

Avati


On Tue, Jul 9, 2013 at 10:29 PM, Louis Zuckerman <me at louiszuckerman.com>wrote:

> That's great!  Also Joe Julian just chatted me on IRC that the inode
> number from glfs_lstat might be the GFID.  I'm going to implement that for
> now.  Does that sound right to you?
>
> Thanks!
>
>
> On Wed, Jul 10, 2013 at 1:26 AM, Vijay Bellur <vbellur at redhat.com> wrote:
>
>> On 07/10/2013 09:45 AM, Louis Zuckerman wrote:
>>
>>> In order to implement the following I need to read the GFID of a file
>>> through libgfapi from an unprivileged client process.
>>>
>>> http://docs.oracle.com/javase/**7/docs/api/java/nio/file/**
>>> attribute/BasicFileAttributes.**html#fileKey()<http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/BasicFileAttributes.html#fileKey()>
>>>
>>> I know of no way to do this.  Is it possible?
>>>
>>>
>> This patch under review might help:
>>
>> http://review.gluster.org/#/c/**5129/<http://review.gluster.org/#/c/5129/>
>>
>> -Vijay
>>
>>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20130709/d70d4125/attachment-0001.html>


More information about the Gluster-devel mailing list