From owner-freebsd-bugs Thu Mar 14 20:52:39 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 874B237B400; Thu, 14 Mar 2002 20:52:35 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id IAA01693; Fri, 15 Mar 2002 08:00:22 +0300 (MSK) Message-Id: <200203150500.IAA01693@aaz.links.ru> Subject: Re: bin/35842: rm -rf fails to delete nonexistent file [patch] In-Reply-To: <20020315142154.W22478-100000@gamplex.bde.org> from "Bruce Evans" at "Mar 15, 2 02:23:44 pm" To: bde@zeta.org.au (Bruce Evans) Date: Fri, 15 Mar 2002 08:00:22 +0300 (MSK) Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bruce Evans writes: > On Wed, 13 Mar 2002 .@babolo.ru wrote: > > >Description: > > > > choose nonexistant file in ro mount filesystem: > > > > 0cicuta~(53)>mount | grep mnt > > /dev/ad4s1h on /mnt (ufs, local, read-only) > > > > 0cicuta~(54)>stat /mnt/a/e > > Can't lstat /mnt/a/e > > > > 2cicuta~(55)>rm -f /mnt/a/e > > > > 0cicuta~(56)>rm -fr /mnt/a/e > > rm: /mnt/a/e: Read-only file system > > I think this is the same bug as in PR 16815. If so, then it is a kernel > bug in nfs. No nfs involved in test - only ro ufs. IMHO no kernel bug - see at rm source and my patch -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message