Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 21:00:10 -0800 (PST)
From:      "."@babolo.ru
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/35842: rm -rf fails to delete nonexistent file [patch]
Message-ID:  <200203150500.g2F50Aj13656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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