Re: Reading GFID from libgfapi (unprivileged)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx> 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()

I know of no way to do this.  Is it possible?


This patch under review might help:

http://review.gluster.org/#/c/5129/

-Vijay



_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux