[PATCH v3] xfsprogs/io: add readdir command

Mark Tinguely tinguely at sgi.com
Fri Aug 9 08:21:11 CDT 2013


On 08/09/13 07:32, 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>
> ---
>
> v3:
> - dup() file->fd and add corresponding closedir() (mark).
> - add readdir section to xfs_io manpage (mark).
>
> v2:
> - Convert from getdents to readdir.
> - Use configure mechanism for libc readdir() availability (zab).
> - Add extra dirent fields to verbose output (zab).

Thank-you, looks great. We can get it in right away.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list