Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 1999 00:08:24 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "Ronald F. Guilmette" <rfg@monkeys.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Stupid file system tricks.
Message-ID:  <19991019000824.A2650@orion.ac.hmc.edu>
In-Reply-To: <5547.940301936@monkeys.com>; from rfg@monkeys.com on Mon, Oct 18, 1999 at 07:58:56PM -0700
References:  <5547.940301936@monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 18, 1999 at 07:58:56PM -0700, Ronald F. Guilmette wrote:
> 
> Dumb question #1:
> 
>    Why can't I mount a single physical (ufs) file system in two different
>    (logical) places at once?

I don't have a good answer for that.  I believe it would lead to nasty
consistency problems because files would be represented twice.

> Dumb question #2:
> 
>    Given that I can't mount a (ufs) filesystem in two different places at
>    once (perhaps because that would create some problem with synchronizing
>    any writes to the filesystem and/or some problems with keeping in-core
>    buffers always synched with what's on disk), why can't I at least mount
>    a given filesystem *READ ONLY* in two different places at once?

You might be able to use mount_null(8) to accomplish the desired effect.

-- Brooks

-- 
"Those who desire to give up freedom in order to gain security, will not
have, nor do they deserve, either one"
                                           --Thomas Jefferson 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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