[haiku-gsoc] Re: 'myfs' in fs_shell

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Thu, 09 Jul 2009 19:22:04 +0200

On 2009-07-09 at 18:59:19 [+0200], raghuram <raghuram87@xxxxxxxxx> wrote:
> Hi all,
> 
> In fs_shell program, I see that we first create a rootfs and mount it
> at '/' and create a directory called 'myfs' and then mount the image
> given to fs_shell at 'myfs'. Is it mandatory that the file systems be
> mounted over a rootfs? In my current fuse implementation also there is
> a 'myfs' directory over which I am currently mounting the given
> filesystem image. It doesn't look good :). Can we not remove the mount
> over 'myfs' and directly mount over at '/'?

Have you tried not mounting rootfs and mounting your FS at "/" instead? 
Unless I'm much mistaken that should work just fine. Besides you could 
always just remap the paths in the FUSE hooks.

CU, Ingo

Other related posts: