From owner-freebsd-bugs Thu Mar 14 21: 1:29 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 300F237B436 for ; Thu, 14 Mar 2002 21:00:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2F50Aj13656; Thu, 14 Mar 2002 21:00:10 -0800 (PST) (envelope-from gnats) Date: Thu, 14 Mar 2002 21:00:10 -0800 (PST) Message-Id: <200203150500.g2F50Aj13656@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "."@babolo.ru Subject: Re: bin/35842: rm -rf fails to delete nonexistent file [patch] Reply-To: "."@babolo.ru 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 The following reply was made to PR bin/35842; it has been noted by GNATS. From: "."@babolo.ru To: bde@zeta.org.au (Bruce Evans) Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/35842: rm -rf fails to delete nonexistent file [patch] Date: Fri, 15 Mar 2002 08:00:22 +0300 (MSK) 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