Re: [PATCH] Report file size for deleted files; was Re: Countersin df, du

From: Andi Kleen
Date: Mon Jul 13 2009 - 09:21:09 EST


On Mon, Jul 13, 2009 at 03:13:09PM +0200, Andreas Schwab wrote:
> Andi Kleen <andi@xxxxxxxxxxxxxx> writes:
>
> >> But you can see the file date, these are new files and by next search
> >
> > I appended a patch that reports the size.
>
> You can get the size already by using stat instead of lstat, ie. use ls -lL.

True, on the other hand you need two passes because that doesn't give
you file names. So the patch would be still more convenient.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/