Jenny Hopkins wrote:
mount -a > /dev/null
I hoped the output would be directed to a black hole, but it sends a mail every hour as below.
mount is (correctly) sending errors to stderr (which you're not redirecting). This can be quite a good thing; programs which generate "helpful" comments that you want to lose can be redirected without losing any unexpected errors.
See http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html for some useful hints but mount -a &> /dev/null .. will send all output to /dev/null (the above link shows how to handle the different streams separately if needed).