From owner-freebsd-current@FreeBSD.ORG Thu Feb 23 23:08:01 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 024CF106564A for ; Thu, 23 Feb 2012 23:08:01 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id AFE7A8FC0A for ; Thu, 23 Feb 2012 23:08:00 +0000 (UTC) Received: by qadz30 with SMTP id z30so7936170qad.13 for ; Thu, 23 Feb 2012 15:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of deeptech71@gmail.com designates 10.229.135.196 as permitted sender) client-ip=10.229.135.196; Authentication-Results: mr.google.com; spf=pass (google.com: domain of deeptech71@gmail.com designates 10.229.135.196 as permitted sender) smtp.mail=deeptech71@gmail.com; dkim=pass header.i=deeptech71@gmail.com Received: from mr.google.com ([10.229.135.196]) by 10.229.135.196 with SMTP id o4mr2269626qct.139.1330038480018 (num_hops = 1); Thu, 23 Feb 2012 15:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=zDLlgWuwlOhBTr5AL1z3Y3cy8viG/ug8SLyBV0k3t1s=; b=rUaPpzmq5sMA/xFnn2hJdxVecYs1xrAUlQK8EFhHXDqPK1F8rg9gCrtObdb6qCBGes /aUEeW2A3z7zWrDWZEy5D7BWUaqjJBRMU+HAFs9I9nFzvd9NvVQXcLZ7xBqggHC4Q4eL nKF1aIP07Pamm0dDh5BGFnun4rYQIKXYPFNNY= MIME-Version: 1.0 Received: by 10.229.135.196 with SMTP id o4mr1896024qct.139.1330036913512; Thu, 23 Feb 2012 14:41:53 -0800 (PST) Received: by 10.229.136.135 with HTTP; Thu, 23 Feb 2012 14:41:53 -0800 (PST) Date: Thu, 23 Feb 2012 23:41:53 +0100 Message-ID: From: "deeptech71@gmail.com" To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: "rm -rf /" fanclub X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 23:08:01 -0000 Well, I did not actually get a full membership to the "rm -rf /" fanclub, but I managed to remove all installed ports, basically requiring a full reinstall. Here's how it happened: Once upon a time, I did a full reinstall (not because of "rm -rf /"-like things). I kept the old installation's full filesystem hierarchy located in /old. I was then going through the old hierarchy to salvage important bits and delete the rest. At one point, I was in /old/usr, and did "rm -rf X11R6/ bin/ lib/ ...". I was a bit hasty, and forgot to remove the ending backslashes from the directory names, which were inserted by csh's autocompletion. And as it turns out, X11R6 is actually a symlink to /usr/local, and not usr/local or .usr/local! Also, /home is a symlink to /usr/home, and not usr/home or ./usr/home, but I managed to stay clear of that deathtrap. In a web search, I found that someone was about to fix the /home symlink in 2004 [1]. Uhm, any time soon? BTW, is the existence of the X11R6 symlink still required for some compatibility? [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2004-January/005391.html