This is the mail archive of the
mailing list for the Cygwin project.
Re: Is there a fast way to get acl's for the whole filesystem (or chunk thereof)
> Eric Blake writes...
>> But if you WANT to guarantee a newline between processes, just ask for it.
>> Here's one way:
>> find -print0 | xargs -0 sh -c 'getfacl "$@"; echo' sh
> That works!
> But it is more than a third slower, presumably because of the extra shell
> Is there any way to "ask for the newline" without incurring that overhead?
If eliminating the extra shell overhead is really that important to you,
you could build a custom getfacl that emits that extra newline just
before it exits.
I haven't looked at the getfacl source code, but I don't imagine it
would be very difficult. Probably as simple as adding a 'printf("\n");'
line to the appropriate place(s).
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple