From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 26 14:14:51 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BDCDA487 for ; Fri, 26 Apr 2013 14:14:51 +0000 (UTC) (envelope-from drue@therub.org) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) by mx1.freebsd.org (Postfix) with ESMTP id 8419D1BD4 for ; Fri, 26 Apr 2013 14:14:51 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id dx4so210174qab.2 for ; Fri, 26 Apr 2013 07:14:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=n/81wZK+H4UY9UGrbzhz4Fx0RncLJifwHTTxWwkPurs=; b=inWYGM3o6i6bYHkTF9shbmugMDRA6W6JhGjBQPltwK+0+vwcv1cvtazKcY+UYlxHTK AjRXzwRkuwJ8Eu0YdUOZ9k7DlapTci0blR4C4halLf8zFkt1yujMpLcmi7xZlisEQ4IZ rpmKk3R+v0m1swPHEnQCR+1gaLKq2OOgmUMIV4OxLLHt7mJWl7wzurBY0pOIlEBO5Ayv DmX/C0xCntL6nplu5F4fBo9MJJBSJzvCZNOayRj7gxIkQpsDUZn2VzxldOsK5YneawrN 7+RJVW9LxezqZXkiKgqoaP6Zul95g6dJmmuJKtMTfkAK2+ZuuP8xhj55r6ApVlb/8g0H rIJw== MIME-Version: 1.0 X-Received: by 10.229.67.4 with SMTP id p4mr965802qci.44.1366985690570; Fri, 26 Apr 2013 07:14:50 -0700 (PDT) Received: by 10.49.87.134 with HTTP; Fri, 26 Apr 2013 07:14:50 -0700 (PDT) In-Reply-To: <20130426025049.GC50623@lor.one-eyed-alien.net> References: <20130426025049.GC50623@lor.one-eyed-alien.net> Date: Fri, 26 Apr 2013 09:14:50 -0500 Message-ID: Subject: Re: Some improvements to rm(1) From: Dan Rue To: Brooks Davis X-Gm-Message-State: ALoCoQnpNOVBYn/hA/cumynQynDt4meiiKYynirSu/JRt8PsXH8DLL+vTI6qBWH/b5F/ZCPDnuDy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Eitan Adler , FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 14:14:51 -0000 On Thu, Apr 25, 2013 at 9:50 PM, Brooks Davis wrote: > I think the -x option seems a bit odd. What is the use case? At a > first thought, it seems to raise more questions than it resolves. > I was cleaning up a system a year ago and I had an "rm -rf" traverse into a production NFS mountpoint.. oops. I only realized it when it was taking longer than I expected so I stopped it to investigate. Had to restore a bunch of data from backups. Thank you for proposing the patch, I hope it gets committed. Dan