[haiku-development] Re: Multiple mounting of file systems

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 08 Apr 2010 16:03:57 +0200

On 2010-04-08 at 15:06:37 [+0200], Janito Ferreira Filho 
<jvffprog@xxxxxxxxxxx> wrote:
> ingo_weinhold@xxxxxx wrote:
> >
> > I think the VFS should simply prevent that.
> then I can assume at the file system implementation that I won't be 
> mounting the same file system twice?

For disk-based file systems, yes.

> > For mounting the same file system at different mount points, I would 
> > rather
> > introduce a kernel mechanism.
> What kind of kernel mechanism? Some kind of "mount link" similar to a 
> symbolic link? Thanks,

Yes, something like that. If we want to support such link-mounting also 
with stronger restrictions (e.g. read-only instead of read-write), it has 
to be a bit more complex than a link, of course, but at any rate it would 
be implemented in the VFS.

CU, Ingo

Other related posts: