[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] CUSE and pwrite
From:       Christophe Oosterlynck <tiftof () gmail ! com>
Date:       2012-03-14 19:49:14
Message-ID: CAKng7y8UX-svF+9hGd6-hRKUJgXQtGdDRg589_24meux3k37Eg () mail ! gmail ! com
[Download RAW message or body]

I quickly modified the null.c example and it seems to be what I need.
Thanks for pointing that out to me!

If I don't post back here: problem solved :)

Thanks for the fast replies everyone!

Regards,

Christophe

On Wed, Mar 14, 2012 at 8:24 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:

> Christophe Oosterlynck <tiftof@gmail.com> writes:
>
> > When I look at the fuse hello.c example, I can see how easy it is to
> implement
> > a filesystem with 1 file and how access to this 1 file will translate
> into the
> > serial communication I want.
> >
> > But I want this file to be placed on my root filesystem in a directory
> mixed
> > with other files on my actual filesystem. The only solution I see is to
> mount
> > my fuse filesystem somewhere and make a link to the 1 file on that
> filesystem
> > somewhere on my actual filesystem.
> >
> > Am I correct? Or could it be done more simple?
>
> You can mount just a single regular file.
>
> See the null.c example.
>
> Thanks,
> Miklos
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic