Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 18:33:58 +0100
From:      Richard =?iso-8859-1?q?K=E4stner?= <richard.kaestner@ycn.com>
To:        freebsd-fs@freebsd.org
Subject:   mapping [process|socket|...] to Filesystem
Message-ID:  <200601021833.59112.richard.kaestner@ycn.com>

next in thread | raw e-mail | index | archive | help

Hello,

hope to find some help, hints and experience here:

an external device expects commands and command data,
it produces result-codes and result data.
Communication is done via HTTP (and working)

The idea is, to allow access via Samba, which requires either implementation 
of Samba - VFS modules or mapping to BSD-Filesystem - pseudofs came to my 
mind.

Currently I try (and err) with a modified version of procfs. 
So far I can compile, boot the new kernel, mount and access the first few  
primitives: 2 directories and a file (read only)

Is, what I am trying:
- useless / stupid
- better to do with Samba VFS-module
- error prone due to accessing network in "kernel-land"
- can I run into troubles because of networking "problems-of-any-kind"
- simply the wrong way (because something similar exists, ...)
(I have to say, I know about C, I experimented with device drivers - but this 
is my first step into the depth of kernel programming ...)

Another, more technical question: 
can I create dynamic directories / files using pseudofs, or do I have to 
re-init everything?


Thanks in advance for every input!

regards

R.Kaestner

-- 
Mit freundlichen Grüßen

Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601021833.59112.richard.kaestner>