Hello, On Mon, 15 Oct 2012 13:47:44 -0400 Chuck Cranor wrote: > hi- > > I believe I've found a bug in path handling in OrangeFS 2.8.4. > I don't know if it impacts newer versions, but it is easy to test. > If you make a directory and then make a subdirectory with the same > name in it, then stat gets confused when it encounters filenames with > extra slashes in it. In other words, try this: > > > # cat /etc/pvfs2tab > tcp://p9ea1:3334/pvfs2-fs /pvfsarea/pp pvfs2 defaults,noauto 0 0 > # pvfs2-mkdir /pvfsarea/pp/testdir > # pvfs2-mkdir /pvfsarea/pp/testdir/testdir > # pvfs2-ls /pvfsarea/pp/testdir/some_random_string > PVFS_sys_lookup: No such file or directory (error class: 0) > # pvfs2-ls /pvfsarea/pp//testdir/some_random_string > # > # pvfs2-ls /pvfsarea/pp/testdir/another_random_string > PVFS_sys_lookup: No such file or directory (error class: 0) > # pvfs2-ls /pvfsarea/pp////testdir/another_random_string > #
Can't reproduce on orangefs-2.8.5-r9510: PVFS_sys_lookup: No such file or directory (error class: 0) is always returned. > note that "pvfs2-ls" does not generate an error if I add the extra "/" > characters (and it should!). But it shouldn't. '/' is an equivalent to '//', '///', etc. You can try with ls on your local file system. > While I am here, where is the documentation/man pages for the libpvfs2 > API? Use doxygen to generate them: cd doc doxygen doxygen/pvfs2-doxygen.conf Best regards, Andrew Savchenko
pgpix7DV22Wsm.pgp
Description: PGP signature
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
