All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Peter van Hardenberg <pvh@uvic.ca>
Cc: reiserfs-list@namesys.com
Subject: Re: Plugin authoring.
Date: Sun, 06 Nov 2005 22:56:58 -0800	[thread overview]
Message-ID: <436EFABA.6070408@namesys.com> (raw)
In-Reply-To: <200511050017.20410.pvh@uvic.ca>

Peter van Hardenberg wrote:

>Hans,
>
>We would like to spend some time and arrange a plugin that would allow all 
>files to be usable as directories for arbitrary data.
>
>Our reading suggests that this could probably be done with an object plugin 
>that combines the functionality of Files and Directories. 
>
>As for the problem of hard links, we will simply disallow them.
>
Sounds ok to me.  Especially if implemented as a plugin so that people
who really need hard links can just not use that plugin.

At some later time, you/we can deal with the cycle detection problem and
consider turning them back on.

> Although they 
>have their uses, file-directories have their own interesting applications 
>which I believe deserve exploration regardless of the outstanding problem.
>
>Now that we have found our course, we would appreciate some advice on getting 
>started writing a plugin. I have read commentary that there is no "plugin 
>author's document" and that the source code will reveal all to those willing 
>to read it. Well, we are willing to read and hack, but need a few stars to 
>navigate by.
>  
>
Just start reading the regular unix file and directory plugins, and
compose a long email with questions about how they work.

>What code should we read in particular? Are there relatively simple examples 
>we may follow? Is there API documentation for the storage layer? If weekend 
>warriors are to be able to hack on Reiser, perhaps they can learn from our 
>experience. According to my limited research, there are no third-party 
>plugins yet that we can learn from.
>  
>
You are correct.   Edward Shishkin is as close as we get to a
third-party.;-)   (He is doing the compression plugin, and was not an
author of the regular plugins, but he works in the same office as the
guys who did.....)

>Peter
>
>  
>


  reply	other threads:[~2005-11-07  6:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-05  8:17 Plugin authoring Peter van Hardenberg
2005-11-07  6:56 ` Hans Reiser [this message]
2005-11-08 11:00   ` Peter van Hardenberg
2005-11-08 15:54     ` Edward Shishkin
2005-11-08 17:42     ` Hans Reiser
2005-11-08 17:51     ` Edward Shishkin
2005-11-08 18:01       ` Hans Reiser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=436EFABA.6070408@namesys.com \
    --to=reiser@namesys.com \
    --cc=pvh@uvic.ca \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.