List Info

Thread: is it possible to use fuse with a linux loopback device?




is it possible to use fuse with a linux loopback device?
user name
2008-03-07 16:21:08
How I can create loopback device of a fuse partition? Is it
possible?

Thanks.
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
country flaguser name
Hungary
2008-03-07 16:27:53
> How I can create loopback device of a fuse partition?
Is it possible?

What is a "fuse partition"?

Dear Fuse User, wouldn't you like to explain in a few
paragraphs, what
exactly are you trying to achieve?  I'm sure we could help
better if
more information was available.

Thanks,
Miklos

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
user name
2008-03-07 16:42:10
I'm using fusexmp_fh with a subdirectory. When I create
files and
directories in the mountpoint, their copies are stored in my
subdirectory.
Now, I want the files/folders in the subdirectory to become
a single file
when I unmount the fusexmp_fh partition. When I search a
bit, I saw there is
loopback device in Linux. Thus, I wondered that whether it
is possible to
use fusexmp_fh with a loopback device.

Thank you a lot Sir Miklos.

2008/3/8, Miklos Szeredi <miklosszeredi.hu>:
>
> > How I can create loopback device of a fuse
partition? Is it possible?
>
>
> What is a "fuse partition"?
>
> Dear Fuse User, wouldn't you like to explain in a few
paragraphs, what
> exactly are you trying to achieve?  I'm sure we could
help better if
> more information was available.
>
> Thanks,
>
> Miklos
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
country flaguser name
Hungary
2008-03-07 16:52:43
> I'm using fusexmp_fh with a subdirectory. When I create
files and
> directories in the mountpoint, their copies are stored
in my subdirectory.
> Now, I want the files/folders in the subdirectory to
become a single file
> when I unmount the fusexmp_fh partition. When I search
a bit, I saw there is
> loopback device in Linux. Thus, I wondered that whether
it is possible to
> use fusexmp_fh with a loopback device.

Loop makes a device from a file, fusexmp_fh makes a
directory from a
directory.  You can't combine those in any meaningful way.

Why do you want to use fuse at all?  If your goal is just to
create a
filesystem image, then why not do that?

  dd if=/dev/zero of=/tmp/myfs bs=1048576 count=100
  mke2fs -F -j /tmp/myfs
  mount -oloop /tmp/myfs /mnt

Miklos

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
user name
2008-03-07 16:59:12
2008/3/8, Miklos Szeredi <miklosszeredi.hu>:
>
> > I'm using fusexmp_fh with a subdirectory. When I
create files and
> > directories in the mountpoint, their copies are
stored in my
> subdirectory.
> > Now, I want the files/folders in the subdirectory
to become a single
> file
> > when I unmount the fusexmp_fh partition. When I
search a bit, I saw
> there is
> > loopback device in Linux. Thus, I wondered that
whether it is possible
> to
> > use fusexmp_fh with a loopback device.
>
>
> Loop makes a device from a file, fusexmp_fh makes a
directory from a
> directory.  You can't combine those in any meaningful
way.
>
> Why do you want to use fuse at all?  If your goal is
just to create a
> filesystem image, then why not do that?



I have to use fusexmp_fh, because I'm writting my homework
which is built on
fusexmp_fh. Is there certainly no way to combine loopback
and fusexmp_fh?

  dd if=/dev/zero of=/tmp/myfs bs=1048576 count=100
>   mke2fs -F -j /tmp/myfs
>   mount -oloop /tmp/myfs /mnt
>
>
> Miklos
>


Moreover, how uid and gid options of fuse can be used? I'm
using it
"-ouid=500 -ogid=10" but it does not work. I had
asked this question before.

Thanks.
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
country flaguser name
Hungary
2008-03-07 17:03:54
> >
> > > I'm using fusexmp_fh with a subdirectory.
When I create files and
> > > directories in the mountpoint, their copies
are stored in my
> > subdirectory.
> > > Now, I want the files/folders in the
subdirectory to become a single
> > file
> > > when I unmount the fusexmp_fh partition. When
I search a bit, I saw
> > there is
> > > loopback device in Linux. Thus, I wondered
that whether it is possible
> > to
> > > use fusexmp_fh with a loopback device.
> >
> >
> > Loop makes a device from a file, fusexmp_fh makes
a directory from a
> > directory.  You can't combine those in any
meaningful way.
> >
> > Why do you want to use fuse at all?  If your goal
is just to create a
> > filesystem image, then why not do that?
> 
> 
> 
> I have to use fusexmp_fh, because I'm writting my
homework which is built on
> fusexmp_fh. Is there certainly no way to combine
loopback and fusexmp_fh?

You can run fusexmp over the loop mounted filesystem. 
Doesn't make
much sense, but if that's your homework...

> 
>   dd if=/dev/zero of=/tmp/myfs bs=1048576 count=100
> >   mke2fs -F -j /tmp/myfs
> >   mount -oloop /tmp/myfs /mnt
> >
> >
> > Miklos
> >
> 
> 
> Moreover, how uid and gid options of fuse can be used?
I'm using it
> "-ouid=500 -ogid=10" but it does not work. I
had asked this question before.

And it has been answered recently on the list.  It's also in
the
README and now in the FAQ as well.

Miklos

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: is it possible to use fuse with a linux loopback device?
user name
2008-03-07 17:11:48
2008/3/8, Miklos Szeredi <miklosszeredi.hu>:
>
> > >
> > > > I'm using fusexmp_fh with a
subdirectory. When I create files and
> > > > directories in the mountpoint, their
copies are stored in my
> > > subdirectory.
> > > > Now, I want the files/folders in the
subdirectory to become a single
> > > file
> > > > when I unmount the fusexmp_fh partition.
When I search a bit, I saw
> > > there is
> > > > loopback device in Linux. Thus, I
wondered that whether it is
> possible
> > > to
> > > > use fusexmp_fh with a loopback device.
> > >
> > >
> > > Loop makes a device from a file, fusexmp_fh
makes a directory from a
> > > directory.  You can't combine those in any
meaningful way.
> > >
> > > Why do you want to use fuse at all?  If your
goal is just to create a
> > > filesystem image, then why not do that?
> >
> >
> >
> > I have to use fusexmp_fh, because I'm writting my
homework which is
> built on
> > fusexmp_fh. Is there certainly no way to combine
loopback and
> fusexmp_fh?
>
>
> You can run fusexmp over the loop mounted filesystem. 
Doesn't make
> much sense, but if that's your homework...


How I can run fusexmp over the loop mounted fs? Do you mean
the mountpoint
and the sub directory have to be on the loop mounted fs?


>
> >   dd if=/dev/zero of=/tmp/myfs bs=1048576
count=100
> > >   mke2fs -F -j /tmp/myfs
> > >   mount -oloop /tmp/myfs /mnt
> > >
> > >
> > > Miklos
> > >
> >
> >
> > Moreover, how uid and gid options of fuse can be
used? I'm using it
> > "-ouid=500 -ogid=10" but it does not
work. I had asked this question
> before.
>
>
> And it has been answered recently on the list.  It's
also in the
> README and now in the FAQ as well.


There is no such file, "/etc/fuse.conf", in my
system. Does it work if I
creat it manually?

Miklos
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )