Subject: Re: Path confusion
From: Jim Meyering <[email-masked]>
To: [email-masked]
Cc: Luke Kendall <[email-masked]>, [email-masked]
Date: Fri, 01 Apr 2005 23:31:44 +0200

Eric Blake <[email-masked]> wrote:
> How about it - does it make sense to add an --xdev option to all of the
> recursive descent tools (chown, chmod, ls, ...) to force the recursion to
> stop at mount points, or is find/xargs the only supported idiom for this?

It's seductive, but I don't think we can justify it.
You've probably noticed that du has the --one-file-system (-x) option.
That's justifiable because du couldn't do parts of its job if invoked
through e.g., find+xargs.
On the other hand, programs like chown, chmod, chgrp work just fine
when invoked through find+xargs.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/