[PATCH v2] xfsprogs/io: add readdir command
Mark Tinguely
tinguely at sgi.com
Thu Aug 8 09:05:43 CDT 2013
On 07/24/13 07:44, Brian Foster wrote:
> readdir reads the directory entries from an open directory from
> the provided offset (or 0 if not specified). On completion,
> readdir prints summary information regarding the number of
> operations and bytes transferred. Options are available to specify
> the starting offset, length and verbose mode to dump directory
> entry information.
>
> Signed-off-by: Brian Foster<bfoster at redhat.com>
> ---
>
> v2:
> - Convert from getdents to readdir.
> - Use configure mechanism for libc readdir() availability (zab).
> - Add extra dirent fields to verbose output (zab).
>
Just started to look at this.
Shouldn't there be a "closedir(dir);" to close the directory stream and
release the directory structure?
Could we get a little info for the xfs_io man page?
Looks like a nice feature.
Thanks.
--Mark.
More information about the xfs
mailing list