xfs
[Top] [All Lists]

Re: Fast/light weight XFS find utility?

To: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
Subject: Re: Fast/light weight XFS find utility?
From: Steve Lord <lord@xxxxxxx>
Date: 14 Mar 2003 08:48:31 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3E71E0E5.19053656@xxxxxxxxxxxxxxxxxx>
Organization:
References: <3E71E0E5.19053656@xxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Fri, 2003-03-14 at 08:02, James Pearson wrote:
> Is there some sort of find like utility that is optimised for XFS file
> systems? i.e. something that can use the internals of XFS to be fast and
> have a low CPU overhead.
> 
> I'm not necessarily looking for a full blown 'fast' find utility, but
> something that can at least return lists of files based on type, owner,
> date etc.
> 
> Is there anything that can do this?
> 
> Thanks
> 
> James Pearson

Take a look at xfs_ncheck as a starting point, there is a man page
it uses some features of xfs_db, not necessarily that fast though.
There is the bulkstat call which can walk all the inodes in the fs,
see man 5 xfs for that.

Steve


<Prev in Thread] Current Thread [Next in Thread>