Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2004 23:40:05 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: rm -I patch (Re: Protection from the dreaded "rm -fr /")
Message-ID:  <200410060640.i966e5Zb049349@apollo.backplane.com>
References:  <20041002081928.GA21439@gothmog.gr> <200410021123.59811.max@love2party.net> <20041002083336.GA10355@k7.mavetju> <20041002101842.GA23272@gothmog.gr> <200410060157.i961vGTF048095@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    Here is the final commit I made to DFly.  I cleaned up the confirmation
    message somewhat to make it more useful and correct the grammer.

    I'm not saying that this should or should not be done in FreeBSD, but
    I cannot think of any negatives and the -I option does allow for a far
    more sophisticated check then just '/' and a far less annoying
    confirmation then -i.

    http://www.dragonflybsd.org/cvsweb/src/bin/rm/rm.1.diff?r1=1.2&r2=1.3&f=u
    http://www.dragonflybsd.org/cvsweb/src/bin/rm/rm.c.diff?r1=1.3&r2=1.4&f=u
    http://www.dragonflybsd.org/cvsweb/src/etc/csh.cshrc.diff?r1=1.2&r2=1.3&f=u
    http://www.dragonflybsd.org/cvsweb/src/etc/profile.diff?r1=1.2&r2=1.3&f=u

						-Matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410060640.i966e5Zb049349>