Subject: Re: bug#16287: RFE rm "-x" == "--one-file-system"

From: Linda Walsh <[email-masked]>
Date: Mon, 30 Dec 2013 10:06:59 -0800

Bernhard Voelker wrote:

> * These coreutils programs have a --one-file-system option:
> 
>     cp du rm
-----

Guess I got a bit carried away.

On the above list with --one-file-system, only 'rm'
is missing -x as a shorthand for it.

I don't know that either BSD or Solaris have a
one-file-system option, so it seems unlikely they would
have a -x.

secure rm does have -x, which has the same meaning.

You can create any arbitrary set of conditions that
fulfill your need for acceptance or denial.

tar also uses -x and find uses -xdev.

Clearly there are 4 other utils that use -x to
mean stay on this file-system with -xdev being a weak
fifth since find doesn't have many (if any) "--long"
options.