3 ms·
This felt a bit unlikely, but what really convinced me it was a troll was a follow-up comment where he said he accidentally switched "if" and "of" in a dd comma
by sp332 11y ago
This felt a bit unlikely, but what really convinced me it was a troll was a follow-up comment where he said he accidentally switched "if" and "of" in a dd command.
- mturmon 11y agoYes. To wit: "I swapped if and of while doing dd. What to do now?" – Marco Marsala Apr 11 at 7:02
- chris_wot 11y agoIf he mounted his backup media and wiped it, what makes you think he couldn't cockup the dd command? However, under Linux rm -rf / needs --no-preserve-root to work, right?
- aroch 11y agoDepends on which version of `rm` you have. Newer versions (rm from coreutils 8.xx I believe) use no-preserve-root
- profmonocle 11y agoAnd the question is tagged centos 7, which is from 2014 - far too recent to not have --no-preserve-root.
- JdeBP 11y agohttps://git.centos.org/log/rpms!coreutils.git/refs!heads!c7 https://git.centos.org/log/rpms!coreutils.git/refs!heads!c7 indicates that CentOS 7 has coreutils 8.22 . http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=34e3ea055721ecc72e6f636700e8ba7b58069c65 http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit... shows that GNU coreutils gained that option in 2003.
- astrodust 11y agoIt's distribution dependent.
- ymse 11y agoOther giveaways: * "more or less 1535 customers" * ansible would fail if variables are unset (though they could be empty) * no mention of --no-preserve-root * who mounts an off-site backup, instead of pushing with scp/curl/whatever * googling his name does not dig up any company