Bart and I hashed through this a little more off list and got a slightly
modified version of this patch committed to cvs trunk.
Thanks Bart!
-Phil
Bart Taylor wrote:
Hey guys,
I attached a patch for pvfs2-ls that does a few things.
First, there is an off by one error from my previous patch when printing
the
mount point; it will sometimes leave off the last character.
Second, it creates a much larger buffer for printing each entry and
reuses it
instead of allocating each time. The current buffer was 128 characters
which
disappeared quickly when printing attributes as well. The new size (64K)
is the
equivalent of 256 path segments plus a file name and attribute space.
Third, it adds a new option called --all-times that will print mtime
atime and
ctime. This should help admins that do not want to wait on /bin/ls for the
timestamps.
Bart.
------------------------------------------------------------------------
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers