From owner-freebsd-fs Wed May 1 13:52:31 2002 Delivered-To: freebsd-fs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2B08B37B419 for ; Wed, 1 May 2002 13:52:28 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 1 May 2002 21:52:27 +0100 (BST) To: kudzu@tenebras.com Cc: utsl@quic.net, "Andrew P. Lentvorski" , freebsd-fs@freebsd.org Subject: Re: Non-standard root filesystems In-Reply-To: Your message of "Wed, 01 May 2002 13:28:33 PDT." <3CD04FF1.7080304@tenebras.com> Date: Wed, 01 May 2002 21:52:25 +0100 From: Ian Dowse Message-ID: <200205012152.aa72665@salmon.maths.tcd.ie> Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <3CD04FF1.7080304@tenebras.com>, Michael Sierchio writes: >You can mount a filesystem anywhere in the file hierarchy , the mount >point doesn't have to be a fs, and hide the underlying directory -- >but you can't do this with the root filesystem I had forgotten that there is a bug in /sbin/mount that stops you from doing this directly, but for filesystems with a separate mount_xxx program, it will work. Unfortunately it looks like there is another problem. I fixed a bug about a year ago relating to mounting filesystems over /, but it looks as if the bugfix got accidentally reverted by a subsequent commit a few months later. This bug results in a "vrele: negative ref count" panic if you unmount the filesystem or reboot. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message