From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 2 19:16:28 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 C4D4116A4CE; Sat, 2 Oct 2004 19:16:28 +0000 (GMT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D0D143D46; Sat, 2 Oct 2004 19:16:28 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from fwd00.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1CDpMo-0006YT-01; Sat, 02 Oct 2004 21:16:26 +0200 Received: from fw.reifenberger.com (VanWn2ZXreWGAqh93sntsdJIVHCZ9Vryu7MzXiy8Vux-AFsp9tWJZR@[217.232.221.224]) by fmrl00.sul.t-online.com with esmtp id 1CDpMc-1aASW00; Sat, 2 Oct 2004 21:16:14 +0200 Received: from localhost (mike@localhost)i92JG970024488; Sat, 2 Oct 2004 21:16:09 +0200 (CEST) (envelope-from mike@reifenberger.com) X-Authentication-Warning: fw.reifenberger.com: mike owned process doing -bs Date: Sat, 2 Oct 2004 21:16:08 +0200 (CEST) From: Michael Reifenberger To: Giorgos Keramidas In-Reply-To: <20041002175517.GA2230@gothmog.gr> Message-ID: <20041002204851.K24332@fw.reifenberger.com> References: <20041002081928.GA21439@gothmog.gr> <200410021123.59811.max@love2party.net> <20041002165155.GP35869@seekingfire.com> <20041002175517.GA2230@gothmog.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ID: VanWn2ZXreWGAqh93sntsdJIVHCZ9Vryu7MzXiy8Vux-AFsp9tWJZR@t-dialin.net X-TOI-MSGID: 1c54a4e3-de46-4d35-a095-a9cf612db829 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 19:16:28 -0000 On Sat, 2 Oct 2004, Giorgos Keramidas wrote: ... >> Exactly. Who would expect `rm -rf /` to actually succeed? It's not only >> dangerous, it doesn't work in a useful way ;-) >> >> If one is thinking about `rm -rf /`, `newfs` is probably the right >> answer. > ... newfs only works if the root is not mounted because otherwise the device is locked. (Hmm is GEOM too anti foot shooting? But can't you reenable foot-shooting via sysctl?) whereas `rm -rf /` works allwsys :-) Anyway. Check your karma. I've managed to remove large parts of my (and other) various systems several times. Every time this happend I where not concentrated or felt in dangerous safety. Once you realize that there is no seatbelt, you make less errors and have better backups. But many thanks to try to make FreeBSD and its operators better! Bye/2 --- Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com http://www.plaut.de | http://www.Reifenberger.com