News for hackers. Stuff that matters.
Re:Times I've Messed Up as a Developer by humblebee on Tuesday October 10, 2017 @02:34PM (#15444193)
One the last day of a colleague of mine, he decided to run `rm -rf --no-preserve-root /` to see what actually would happen on his workstation (it was going to be formatted shortly after). We were all standing around talking waiting for whatever would happen to happen before we saw him off. A few minutes in I asked if he had unmounted our NFS volumes. Nope. He quickly pulled the power, and that was that. I have no idea if anything was deleted, but he probably had ~ 2PB of mounted data attached to his workstation. Everything from build archives, customer logs dumps, test artifacts, dogfooding clusters (the product was a parallel distributed networked file system), and possibly a few random other things.

No idea if anything would have happened, most of the data was read only (builds, logs, etc) but some was not.

Re:Times I've Messed Up as a Developer by kbenson on Tuesday October 10, 2017 @02:48PM (#15444310)
This is why --one-file-system should be default, with a warning if another file system is encountered that's skipped so if it's what is desired you can re-run it (or umount and try again).
Re:Times I've Messed Up as a Developer by throwme211345 on Wednesday October 11, 2017 @11:40AM (#15450615)
Oh fuck moment.