Comment 11 for bug 799157

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 799157] Re: plaintext -> crypted file name mapping tool

Sergio,

Thanks for the comments.

Perhaps stat is more elegant. I'll review Tyler's comments and take a
look at stat.

I also agree with your logic about the performance of the find. It's
quite quick here for me, though I am on an SSD and a rather powerful
laptop.

find has an option, -maxdepth which could benefit us here. We could
do a bit of simple math on the target, determine how deep the
file/directory name should be, and add that to the find argument.

Would you care to bzr branch lp:ecryptfs, make those two changes (stat
and maxdepth) and send a patch or a merge proposal?

--
:-Dustin