There is a way to prevent rm from deleting mount points?For example, if I have /mnt/backup mounted externally and someone runs rm -rf / I know it will delete the backup contents. My solution is to umount /mnt/backup after the backup concludes.
Behavior of rm - how to prevent deletion of mounted points contents
backup;rm
rm --one-file-system should do the trick.   --one-file-system          when removing a hierarchy recursively, skip any directory that          is on a file system different from that of the corresponding          command line argumentSource: http://man7.org/linux/man-pages/man1/rm.1.html