[Tux3] Patch: Example ddlink control interface

Daniel Phillips phillips at phunq.net
Fri Feb 27 15:46:44 PST 2009

Here is an example control interface for Tux3, using ddlink as improved
by Hirofumi.  It does not do anything yet.  This patch is just intended
to show how the interface works and what kernel files it affects.  Even
though ddlink is probably going to be very useful and important to us
when we get to snapshots and replication, I do not think we will include
it in the initial kernel submission for review, to avoid getting tied up
in long discussions of favoriate kernel/userspace interface mechanisms
that would distract from the base functionality of Tux3 as a modern,
functional equivalent of Ext3.

hg diff | diffstat
 b/user/kernel/control.c |   44 ++++++++
 b/user/kernel/ddlink.c  |  248 ++++++++++++++++++++++++++++++++++++++++++++++++
 b/user/kernel/ddlink.h  |   45 ++++++++
 user/kernel/Makefile    |    3
 user/kernel/inode.c     |    6 -
 user/kernel/namei.c     |    6 +
 user/kernel/tux3.h      |    4
 7 files changed, 351 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddlink.control.patch
Type: text/x-diff
Size: 11098 bytes
Desc: not available
URL: <http://phunq.net/pipermail/tux3/attachments/20090227/6e4e1e37/attachment.patch>
-------------- next part --------------
Tux3 mailing list
Tux3 at tux3.org

More information about the Tux3 mailing list