Simple FUSE Filesystem HOWTO

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

Simple FUSE Filesystem HOWTO

by Scott Balneaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

Ran into a little problem the other day which I handily solved with FUSE.

I know that one of the frequent requests is a "beginners tutorial" for FUSE.
So, today being a bit of a slack day here (I did solve the problem, after all
:) ) I decided to take a couple of hours and write up the solution on the wiki,
in the guise of a quick tutorial:

http://fuse.sourceforge.net/wiki/index.php/SimpleFilesystemHowto

Have a look, feel free to correct any errors/inaccuracies/outright lies, and enjoy.

And yes, it took me way longer to write up the wiki page than it did to write
the filesystem.  :)

Cheers,
Scott

--
Scott L. Balneaves | "There are many causes I am prepared to die for,
Systems Department |  but no causes I am prepared to kill for."
Legal Aid Manitoba |    -- Mohandas Karamchand Gandhi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Simple FUSE Filesystem HOWTO

by Miklos Szeredi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 16 Jul 2008, Scott Balneaves wrote:
> Ran into a little problem the other day which I handily solved with FUSE.
>
> I know that one of the frequent requests is a "beginners tutorial" for FUSE.
> So, today being a bit of a slack day here (I did solve the problem, after all
> :) ) I decided to take a couple of hours and write up the solution on the wiki,
> in the guise of a quick tutorial:
>
> http://fuse.sourceforge.net/wiki/index.php/SimpleFilesystemHowto

Great tutorial, thanks!

Don't you want to write a similar one with the "C" interface too? ;)

Thanks,
Miklos

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Parent Message unknown Re: Simple FUSE Filesystem HOWTO

by Dave Ingram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 18 Jul 2008, Milkos Szeredi wrote:

>> > Ran into a little problem the other day which I handily solved with FUSE.
>> >
>> > I know that one of the frequent requests is a "beginners tutorial" for FUSE.
>> > So, today being a bit of a slack day here (I did solve the problem, after all
>> >  :)  ) I decided to take a couple of hours and write up the solution on the wiki,
>> > in the guise of a quick tutorial:
>> >
>> > http://fuse.sourceforge.net/wiki/index.php/SimpleFilesystemHowto
>
> Great tutorial, thanks!
>
> Don't you want to write a similar one with the "C" interface too?  ;)

I've just spent a month or two writing a FUSE filesystem in C (which I'm still developing). Maybe I'll have a crack at writing a tutorial when I have the time next week :-)


Dave


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Parent Message unknown Re: Simple FUSE Filesystem HOWTO

by Dave Ingram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 18 Jul 2008, Milkos Szeredi wrote:

>> Ran into a little problem the other day which I handily solved with
>> FUSE.
>> I know that one of the frequent requests is a "beginners tutorial"
>> for FUSE.
>> So, today being a bit of a slack day here (I did solve the problem,
>> after all
>> :) ) I decided to take a couple of hours and write up the solution on
>> the wiki,
>> in the guise of a quick tutorial:
>> http://fuse.sourceforge.net/wiki/index.php/SimpleFilesystemHowto
>
> Great tutorial, thanks!
>
> Don't you want to write a similar one with the "C" interface too?  ;)

I've just spent a month or two writing a FUSE filesystem in C (which I'm
still developing). Maybe I'll have a crack at writing a tutorial when I
have the time next week :-)


Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Simple FUSE Filesystem HOWTO

by Scott Balneaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 18, 2008 at 04:37:44PM +0200, Miklos Szeredi wrote:
> Great tutorial, thanks!
>
> Don't you want to write a similar one with the "C" interface too? ;)

Wouldn't be that hard.  Gimme a week.

Cheers,
Scott

--
Scott L. Balneaves | "There are many causes I am prepared to die for,
Systems Department |  but no causes I am prepared to kill for."
Legal Aid Manitoba |    -- Mohandas Karamchand Gandhi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Simple FUSE Filesystem HOWTO

by Luis Furquim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I was writing a simple tutorial to FUSE and I sent some samples of it
to Miklos some
months ago.

Because I am in a hurry with my own filesystem since april, I couldn't continue
writing it until now. I will be very loaded the next few weeks and so,
I will have no time to
contribute with it until then.

But, in order to avoid duplicate effort, I can send what I have done
until now and, if it is
useful, you may continue from there. The material is in a very early
stage, most of it is
explaining introductory basic concepts of FUSE. I was just starting
writing about the
function callbacks itselves, and I wrote only about statvfs and getattr.

Is there any interest in it? If so, how do you prefer I send the text?
Publishing in the
wiki, or in an e-mail to the list or just to your e-mail?

Cheers,

On Fri, Jul 18, 2008 at 12:48 PM, Scott Balneaves
<sbalneav@...> wrote:

> On Fri, Jul 18, 2008 at 04:37:44PM +0200, Miklos Szeredi wrote:
>> Great tutorial, thanks!
>>
>> Don't you want to write a similar one with the "C" interface too? ;)
>
> Wouldn't be that hard.  Gimme a week.
>
> Cheers,
> Scott
>
> --
> Scott L. Balneaves | "There are many causes I am prepared to die for,
> Systems Department |  but no causes I am prepared to kill for."
> Legal Aid Manitoba |    -- Mohandas Karamchand Gandhi
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> fuse-devel mailing list
> fuse-devel@...
> https://lists.sourceforge.net/lists/listinfo/fuse-devel
>



--
Luis Otavio de Colla Furquim
Não alimente os pingos
Don't feed the tribbles
http://www.furquim.org/chironfs/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel

Re: Simple FUSE Filesystem HOWTO

by Scott Balneaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 18, 2008 at 02:45:27PM -0300, Luis Furquim wrote:

> Is there any interest in it?

Heh, of course!


> If so, how do you prefer I send the text?
> Publishing in the
> wiki, or in an e-mail to the list or just to your e-mail?

Well, if time's tight, why not just post what you have here to the list.  Then
it's part of the public record just in case I get eaten by army ants next week.
Assuming I don't, I can do the wikification (is that a word?) and put it up.
We can go from there.

Cheers!

Scott


--
Scott L. Balneaves | "There are many causes I am prepared to die for,
Systems Department |  but no causes I am prepared to kill for."
Legal Aid Manitoba |    -- Mohandas Karamchand Gandhi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel
LightInTheBox - Buy quality products at wholesale price