[LINK] Friday :)

Andy Farkas andyf at andyit.com.au
Sat Apr 16 18:00:58 AEST 2016


On 16/04/2016 17:33, Andy Farkas wrote:
> On 16/04/2016 14:44, Scott Howard wrote:
>> There was very clearly something wrong with the question from the start.
>> The command described doesn't actually do what the author suggested 
>> (wipe
>> the entire machine) - in fact, it does nothing but return an error.
>>
>> # rm -rf /
>> rm: it is dangerous to operate recursively on ‘/’
>> rm: use --no-preserve-root to override this failsafe
>> #
>>
>> This functionality was added probably close to 10 years ago, and will 
>> be in
>> every even close-to-current linux distribution now days.
>>
>
> You assume he was using leenux.
>
> A real BSD-based OS would do what you tell it.
>
> -andyf

Erm, I was mistaken and withdraw that comment.

UTSL

     warnx("\"/\" may not be removed");

-andyf




More information about the Link mailing list