Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2004 21:23:50 +0430
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Protection from the dreaded "rm -fr /"
Message-ID:  <BAY2-F27PUPeKljq65R00014185@hotmail.com>

next in thread | raw e-mail | index | archive | help
>John Beck, who works for Sun, has posted an entry in his blog yesterday
>about "rm -fr /" protection, which I liked a lot:
>http://blogs.sun.com/roller/page/jbeck/20041001#rm_rf_protection
>
>His idea was remarkably simple, so I went ahead and wrote this patch for
>rm(1) of FreeBSD:
>


How about:

chflags sunlnk /
?

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-F27PUPeKljq65R00014185>