3 ms·
Sounds reasonable. Any ideas why no one has ever done this? Kind of reminds me when the behavior of rm -rf / was changed in solaris. I can't find the article
by justinsaccount 10y ago
Sounds reasonable. Any ideas why no one has ever done this?
Kind of reminds me when the behavior of rm -rf / was changed in solaris.
I can't find the article, but basically someone pointed out that they couldn't change the behavior of rm -rf / because posix defined how it should work. Someone then pointed out that the spec says that trying to remove the parent directory(i think?) should fail, and since rm -rf / includes removing the parent directory, it was within the spec that it should fail.