My module: fuse-workspace

View: New views
2 Messages — Rating Filter:   Alert me  

My module: fuse-workspace

by Stef Bon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've mentioned my fuse module fuse-workspace earlier.
It's like fusexmp, it mirrors a directory, not root, but $HOME/.fuse/bind.
Another thing it does is let a symlink (to a directory) look like a
directory, making
this look like a "bind" mount. This is actually a trick.

This has some suprising effects, you can create a virtual fs (workspace)
for the user, with
links (which look like directories) to autofs managed directories for
mounts to windows/samba servers/shares,
shared documents and usb devices.

For more information (and screenshots):

http://linux.bononline.nl/linux/fuse-workspace/

Now I'm looking at the possibility to mount it at the homedirectory
directly, which is not empty,
while the contents of the homedirectory is still available, through a
bind mount.
I'm trying whether it's possible fuse-workspace make request for an
file/dir found in the original homedirectory
redirected to the place where the homedirectory is mounted through the
bind mount. This is an experiment to create
a really "virtual workspace/filesystem" for the user, making everything
the user needs, his/her documents, USB devices and networkmounts
available in one place. In reality, it's only a trick. This is still an
idea, but possible I think.

I assume that my own webpage is enough as reference.

Can someone add a my module to the list??


Stef Bon

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: My module: fuse-workspace

by Mike Hommey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 26, 2009 at 12:36:16AM +0100, Stef Bon wrote:

> Hello,
>
> I've mentioned my fuse module fuse-workspace earlier.
> It's like fusexmp, it mirrors a directory, not root, but $HOME/.fuse/bind.
> Another thing it does is let a symlink (to a directory) look like a
> directory, making
> this look like a "bind" mount. This is actually a trick.
>
> This has some suprising effects, you can create a virtual fs (workspace)
> for the user, with
> links (which look like directories) to autofs managed directories for
> mounts to windows/samba servers/shares,
> shared documents and usb devices.
>
> For more information (and screenshots):
>
> http://linux.bononline.nl/linux/fuse-workspace/
>
> Now I'm looking at the possibility to mount it at the homedirectory
> directly, which is not empty,
> while the contents of the homedirectory is still available, through a
> bind mount.
> I'm trying whether it's possible fuse-workspace make request for an
> file/dir found in the original homedirectory
> redirected to the place where the homedirectory is mounted through the
> bind mount.

I see two possibilities: either you want the original directory to be
visible to the user, or you want it to be hidden under your mount point.
In the former case, you want to bind mount to a temporary location,
mount your filesystem, then bind mount the temporary location onto the
final mount point. Then you can unmount the temporary location.
In the latter case, you don't need to bind mount at all. You can use the
openat() call and friends after having opened your home directory before
mounting your filesystem on it.

Cheers,

Mike

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel