From owner-freebsd-fs@FreeBSD.ORG Mon Jan 2 17:34:06 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 870E216A41F for ; Mon, 2 Jan 2006 17:34:06 +0000 (GMT) (envelope-from richard.kaestner@ycn.com) Received: from richardkaestner.com (212-88-187-192.ADSL.ycn.com [212.88.187.192]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A9B343D58 for ; Mon, 2 Jan 2006 17:34:04 +0000 (GMT) (envelope-from richard.kaestner@ycn.com) Received: (qmail 2219 invoked from network); 2 Jan 2006 17:34:01 -0000 Received: from pc-01034.richardkaestner.com (HELO sv01.rfk.priv) (10.200.4.10) by stargate.richardkaestner.com (10.200.254.254) with ESMTP; 02 Jan 2006 17:34:01 -0000 Received: from sv01.rfk.priv (localhost.rfk.priv [127.0.0.1]) by sv01.rfk.priv (8.12.11/8.12.11) with ESMTP id k02HY0bl000911 for ; Mon, 2 Jan 2006 18:34:00 +0100 (CET) (envelope-from richard.kaestner@ycn.com) Received: from localhost (localhost [[UNIX: localhost]]) by sv01.rfk.priv (8.12.11/8.12.11/Submit) id k02HXxu2000910 for freebsd-fs@freebsd.org; Mon, 2 Jan 2006 18:33:59 +0100 (CET) (envelope-from richard.kaestner@ycn.com) X-Authentication-Warning: sv01.rfk.priv: rfk set sender to richard.kaestner@ycn.com using -f From: Richard =?iso-8859-1?q?K=E4stner?= To: freebsd-fs@freebsd.org Date: Mon, 2 Jan 2006 18:33:58 +0100 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601021833.59112.richard.kaestner@ycn.com> Subject: mapping [process|socket|...] to Filesystem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: richard.kaestner@ycn.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 17:34:06 -0000 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 implementatio= n=20 of Samba - VFS modules or mapping to BSD-Filesystem - pseudofs came to my=20 mind. Currently I try (and err) with a modified version of procfs.=20 So far I can compile, boot the new kernel, mount and access the first few = =20 primitives: 2 directories and a file (read only) Is, what I am trying: =2D useless / stupid =2D better to do with Samba VFS-module =2D error prone due to accessing network in "kernel-land" =2D can I run into troubles because of networking "problems-of-any-kind" =2D simply the wrong way (because something similar exists, ...) (I have to say, I know about C, I experimented with device drivers - but th= is=20 is my first step into the depth of kernel programming ...) Another, more technical question:=20 can I create dynamic directories / files using pseudofs, or do I have to=20 re-init everything? Thanks in advance for every input! regards R.Kaestner =2D-=20 Mit freundlichen Gr=FC=DFen Richard K=E4stner EDV-Beratung Woerthgasse 17 2500 Baden Austria