Temporarily mounted an NFS volume to a folder under /tmp.
Forgot about tmpwatch, a default entry in the RHEL cron table to clear out old temp files.
4AM the next morning, recursive deletion on anything wiuth a change time older than n days.
Forgot about tmpwatch, a default entry in the RHEL cron table to clear out old temp files.
4AM the next morning, recursive deletion on anything wiuth a change time older than n days.
Why no, I've NEVER accidentally deleted whole file systems, I have completely earned superiority here.
Delete /proc and /dev on a running server. Thankfully not really disastrous but damn if people don't notice right away.
Thanks for the tmpwatch info btw.
Obviously that was incorrect, but the reasoning was, I think, sound.
Edit: Reading tmpwatch.c: "Try hard not to go onto a different device". Perhaps old bug?