Yes, in this case /mnt/aufs is a mount point
for example slax uses /mnt/live/memory/images as a mount point for all 
branches

I have 96 mounted aufs squashfs modules having more than 640,000 files, and I 
find files searching this location using this method ... it is not time 
intensive at all as it is in memory.

When I want to speed things up for repetitive searching, I create a file with 
a file listing of this area and grep filter the file.  a cron job could build 
your "index" for you if you don't have static aufs branches (ie NFS with user 
activity vs sqlzma/squashfs r/o modules)



On Tuesday 25 November 2008 02:06:03 am Kernel John wrote:
> 2008/11/24 Chuck Smith <[EMAIL PROTECTED]>
>
> > isn't it as easy as this?
> >
> > find /mnt/aufs -name '*query*'
> >
> > where /mnt/aufs is your aufs branch and query is what you hope to find?
>
> What do you mean by /mnt/aufs ? Is it a mountpoint?
>
> My situation looks like this:
>
> writable_branch - some files
> branch_1 - more than 100 000 files
> branch_2 - more than 50 000 files
> branch_3 - more than 200 000 files
>     .
>     .
> branch_n - many, many, many files ;)
>
> /mnt/aufs is an union made of above branches.
>
> For example I would like to check where file called /mnt/aufs/somefile came
> from. Branch_1, branch_2 or maybe a writable_branch? Find command is
> useless here because file might be found on more than one branch and it
> would take hours to find it... :( Aufs knows what branch is this file
> located on. Why should we use "find" then?
>
> Best,
> John




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to