<p>i am dumbfounded that, tho cp, du, and rsync have -x and find has -mount, rm -r lacks such a feature, leaving us to either manually check for mounts within a tree, script it, and/or suffer the loss, eg when forgetting to use said script!</p>

<p>my most recent forehead whack follows using /tmp/foo as a quickie mountpoint, neglecting to specify ro, and a few days later wondering where the data went..</p>