Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 08:00:22 +0300 (MSK)
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]
Message-ID:  <200203150500.IAA01693@aaz.links.ru>
In-Reply-To: <20020315142154.W22478-100000@gamplex.bde.org> from "Bruce Evans" at "Mar 15, 2 02:23:44 pm"

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