These statments confused me .
If these is a file, named 'pvfs2test', in the directory /mnt/pvfs2, how can I open, and read it. In c programming, we just need to do as follow:
int fd, n;
if (( fd = open("pvfs2test", O_RDONLY, 0) == -1)
error("failure");
read(fd, buff, BUFFSIZE);
How can I do such things using PVFS2? I just know I have to add include < pvfs2.h> to the code and use compile command such as gcc -o test.o test.c -L/usr/src/pvfs2/lib -lpvfs2.
Thanks,
[EMAIL PROTECTED]
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
