From owner-freebsd-questions@freebsd.org Sun Apr 17 17:10:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4123CAEDBF4 for ; Sun, 17 Apr 2016 17:10:53 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D25A91B37 for ; Sun, 17 Apr 2016 17:10:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id l6so17605172wml.1 for ; Sun, 17 Apr 2016 10:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=m13ruIQGnxhUnK2Hs3FFyPvuf0pmvHKeTHeJQYz3300=; b=nFKjjhe3ViBBdaArs6ViLNIZIgEMexXAnlLes4YFfP+pBQBs2xbh1g9DLnXX/ENu3v j+51snA0cYaBWj9rKIPUPr2mmymky+IoJRBn2Wjl7bY1A8/EZEt/ye/zQP6d0tz57UQG MpE/ywKMut0LoCrA06vZ2DoPSag8e4iMDxxlVMwGjt/TvcEnnQU9VomMakTpJZEhIEXC y+YKvWMy2mWnT30OOnQ1kGE8wZgWl/b0eq6dxuO7yw7Q+X9Ms0aFxLZnZytVHM7HQMdz 9F+xHcRxnn5/h7N4xgGX3bBCLr0IXEPKGF7BllTt16pbB9bJ+CB/sLcnf3tgwYxYisxG rv+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=m13ruIQGnxhUnK2Hs3FFyPvuf0pmvHKeTHeJQYz3300=; b=HvFsqi61z6Z2zntHkMpXEoAVjoYbAf6amHU8QK1l6cvlU/nL5Eb7WjTLN0pLO0OWJF cLCZywHEa815STr66c6MYJoQSqnXH8JdR3UAYxX8Scn2CuyJSMmxiHX/yFAv7vDTi7cu nBULfYZg+IhwzUaofTlO0CfTMGRLBrA4C2DCIO+s/72QMcuTBo64e9Na/3280ew73qqT hfYWLN+Lqt0IvyHzYGk3B0+V4diVyMXXswVg3BNPi5D/HdJd0QypnjF6AExXRnbptzZR 7Svfsdj6KVsq2IB2/MKIR6S5wCXr3N7Dbxj9tY8zCO86ioe4iuf0iuyZiL0WHceYTdx7 NxnQ== X-Gm-Message-State: AOPr4FV+5bCkzbAQkH+zs0nmWuP46CoXxdm3WxybasGES18IMffE+8zFImsCGZoiuYlHJU2ukuBBgvktiE0mgA== X-Received: by 10.194.231.196 with SMTP id ti4mr23646920wjc.41.1460913051086; Sun, 17 Apr 2016 10:10:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.103.233 with HTTP; Sun, 17 Apr 2016 10:10:11 -0700 (PDT) From: Odhiambo Washington Date: Sun, 17 Apr 2016 20:10:11 +0300 Message-ID: Subject: rm -rf -Mitigating the dangers To: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 17:10:53 -0000 I am wondering if I should place a feature request on this or just do it my way:) With great power comes great responsibility and as such I think there should be a wrapper around rm to warn sysadmins that what they are about to do with -rf is dangerous, yes? Read input from sysadmin 3 times, looking strictly for their confirmation before effecting the `rm -rf`. Could it be that what I am smoking/drinking is the issue here or I have your support? LOL -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."