Hi,

> If I do a cowbuilder --login --bindmounts /home/joey , it takes a very
> long time for cow-shell to start up, since it runs a find on everything,
> including my home directory, which is quite large with many files.
> 
> [EMAIL PROTECTED]:~>time find |wc -l
> 1.72user 7.48system 2:03.01elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k 
> 0inputs+0outputs (0major+940minor)pagefaults 0swaps
> 395496
> 
> This makes it slower than pbuilder login, unfortunately.
> 
> Would it be possible to add a way to make it prune certian directories
> from the find? There are many parts of my home directory that will never
> be touched during a package build so I don't care about getting the COW
> behavior for them.

The question would be, would it be reasonable to do that.

On initial thought, anything that is bind-mount does not really need
to be checked for ilists.  That could be achieved by checking for
-xdev, but that doesn't work for the case if /home and /var are on the
same device.

This will involve rather intrusive change with very little satisfaction.
How about not bind-mounting /home ?



regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to