Hi Gilles!

>> find / -xdev -type f -print0 | ...
May be you can get further optimization and select only files wit a set
executable bit (either x bit of user, group or other is set):

find / -xdev -type f -perm +111 -print0 | ...

That way you leave out text files like configurations/sources and don't
invoke readelf on those files (but may miss binaries/libraries not
marked as executable).
 
FYI: This uses the deprecated "-perm +NNN" form as (at least older
versions of) Busybox doesn't support "-perm /NNN".

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to