Add an option to rm to prevent recursive rm crossing mount points
With null mounts, rm -r in root can be dangerous. GNU rm as an option for that :
when removing a hierarchy recursively, skip
any directory that is on a file system differ‐
ent from that of the corresponding command
Here is an easy patch to add a similar option to rm.