[Pvfs2-developers] [patch] pvsf2-ls
Phil Carns
carns at mcs.anl.gov
Wed Jul 22 16:46:41 EDT 2009
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
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
More information about the Pvfs2-developers
mailing list