Path confusion

Jim Meyering jim@meyering.net
Fri Apr 1 21:31:00 GMT 2005


Eric Blake <ebb9@byu.net> 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/



More information about the Cygwin mailing list