From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 2 22:56:58 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2CC716A4CE for ; Sat, 2 Oct 2004 22:56:58 +0000 (GMT) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEE6243D45 for ; Sat, 2 Oct 2004 22:56:58 +0000 (GMT) (envelope-from mwm-dated-1097621817.827330@mired.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id AFBD215524E for ; Sat, 2 Oct 2004 15:56:58 -0700 (PDT) Received: from mired.org (mwm@idiom [216.240.32.1]) by idiom.com (8.12.11/8.12.11) with SMTP id i92MuvfU091039 for ; Sat, 2 Oct 2004 15:56:57 -0700 (PDT) (envelope-from mwm-dated-1097621817.827330@mired.org) Received: (qmail 2370 invoked by uid 100); 2 Oct 2004 22:56:57 -0000 Received: by guru.mired.org (tmda-sendmail, from uid 100); Sat, 02 Oct 2004 17:56:56 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16735.12854.834510.62812@guru.mired.org> Date: Sat, 2 Oct 2004 17:56:54 -0500 To: Giorgos Keramidas In-Reply-To: <20041002081928.GA21439@gothmog.gr> References: <20041002081928.GA21439@gothmog.gr> X-Mailer: VM 7.17 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer X-Mailman-Approved-At: Sun, 03 Oct 2004 12:07:45 +0000 cc: freebsd-hackers@FreeBSD.org Subject: Re: Protection from the dreaded "rm -fr /" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 22:56:58 -0000 In <20041002081928.GA21439@gothmog.gr>, Giorgos Keramidas typed: > 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: Aw, but watching how systems fail when you do "rm -rf /" after you take them out of service is so entertaining. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.