From owner-cvs-usrbin Fri Oct 4 09:11:04 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA26376 for cvs-usrbin-outgoing; Fri, 4 Oct 1996 09:11:04 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA26368; Fri, 4 Oct 1996 09:10:51 -0700 (PDT) Received: by sovcom.kiae.su id AA27992 (5.65.kiae-1 ); Fri, 4 Oct 1996 19:05:58 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Fri, 4 Oct 96 19:05:58 +0300 Received: (from ache@localhost) by nagual.ru (8.7.6/8.7.3) id UAA00513; Fri, 4 Oct 1996 20:03:26 +0400 (MSD) Message-Id: <199610041603.UAA00513@nagual.ru> Subject: Re: cvs commit: src/usr.bin/find extern.h find.1 find.h function.c option.c In-Reply-To: <199610041254.FAA16501@freefall.freebsd.org> from "Peter Wemm" at "Oct 4, 96 05:54:09 am" To: peter@freefall.freebsd.org (Peter Wemm) Date: Fri, 4 Oct 1996 20:03:25 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL28 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > It removes both files and directories. It does not attempt to remove > immutable files (an earlier version I showed to a few people did a chflags > and tried to blow away even immutable files. Too risky..) It should do the same thing for immutable files as 'rm -f' does. > Reviewed by: pst (some time ago, but I've removed the immutable file > deletion code that he complained about since he last saw it) Is it the same code as in 'rm -f'? This two things must be equivalent, i.e. either 'rm -f' must be -delete compatible or vice versa. -- Andrey A. Chernov http://www.nagual.ru/~ache/