From owner-freebsd-hackers Sun Jun 27 17:43:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from math.psu.edu (leibniz.math.psu.edu [146.186.130.2]) by hub.freebsd.org (Postfix) with ESMTP id 1424314CAF for ; Sun, 27 Jun 1999 17:43:37 -0700 (PDT) (envelope-from viro@math.psu.edu) Received: from weyl.math.psu.edu (weyl.math.psu.edu [146.186.130.226]) by math.psu.edu (8.9.3/8.9.3) with ESMTP id UAA05427; Sun, 27 Jun 1999 20:43:29 -0400 (EDT) Received: from localhost (viro@localhost) by weyl.math.psu.edu (8.9.3/8.9.3) with ESMTP id UAA03825; Sun, 27 Jun 1999 20:43:28 -0400 (EDT) X-Authentication-Warning: weyl.math.psu.edu: viro owned process doing -bs Date: Sun, 27 Jun 1999 20:43:28 -0400 (EDT) From: Alexander Viro To: der Mouse Cc: Francois-Rene Rideau , FreeBSD Hackers , NetBSD Kernel , OpenBSD Kernel , Linux Kernel Subject: Re: Improving the Unix API In-Reply-To: <199906272333.TAA23042@Twig.Rodents.Montreal.QC.CA> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 27 Jun 1999, der Mouse wrote: > >> (clri didn't work?) > > Never heard about clri (was under Linux). > > May not have existed, then, which *would* explain it. :-) # debugfs -w /dev/sda1 debugfs: clri file debugfs: close It exists, all right ;-) Even documented - man 8 debugfs and there you go. > The NetBSD manpage doesn't say what happens if you "mount -o > update,force,rdonly" when there are writeable descriptors open onto the > filesystem, and then try to use those fds. I would assume further > attempts to write would produce errors (EROFS?), unless of course the > filesystem has been re-remounted read/write. Forced revoke()? But then there is mmap() and IIRC revoke() on *BSD doesn't unmap the stuff. Oh, shit, there is such thing as pending unlink... Does vgone() force it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message