From owner-freebsd-fs@FreeBSD.ORG Tue Jan 3 20:38:57 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 A2E3A16A420 for ; Tue, 3 Jan 2006 20:38:57 +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 6581243D5A for ; Tue, 3 Jan 2006 20:38:52 +0000 (GMT) (envelope-from richard.kaestner@ycn.com) Received: (qmail 3090 invoked from network); 3 Jan 2006 20:38:47 -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; 03 Jan 2006 20:38:47 -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 k03Kck37004651; Tue, 3 Jan 2006 21:38:46 +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 k03Kcj8g004650; Tue, 3 Jan 2006 21:38:45 +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 =?utf-8?q?K=C3=A4stner?= To: Gary Corcoran Date: Tue, 3 Jan 2006 21:38:44 +0100 User-Agent: KMail/1.7 References: <200601021833.59112.richard.kaestner@ycn.com> <200601031949.22484.richard.kaestner@ycn.com> <43BACE81.8020403@rcn.com> In-Reply-To: <43BACE81.8020403@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601032138.45114.richard.kaestner@ycn.com> Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: 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: Tue, 03 Jan 2006 20:38:58 -0000 On Tuesday 03 January 2006 20:20, Gary Corcoran wrote: > > Richard K=C3=A4stner wrote: > > On Monday 02 January 2006 22:29, Bj=C3=B6rn K=C3=B6nig wrote: > >>Richard K=C3=A4stner schrieb: > >>>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. > >>>[...] > >> > >>Hello, > >> > >>your description is a little bit vague to me, but it sounds like that > >>this task can be probably done by using portalfs. See mount_portalfs(8) > >>for examples. > >> > >>Regards Bj=C3=B6rn > > > > Bj=C3=B6rn, > > (sorry for being vague - I seem to be too deep in my problems) > > > > thanks for the tip - portalfs was the first thing to try, but it does n= ot > > work with samba (at least the way, I wanted ): > > Portalfs does not allow to pass anything besides '/p/tcp/localhost/6666' > > > > To be less vague : > > the external device is a black box, communicates via ???-HTTP server. > > > > The idea is: > > - a (windows)user copies a file to a directory (say: .../commands/xyz), > > - there is a "thing", that maps this file to some activity towards > > external box (similar to: procfs_doprocnote ) > > - as a response, a file appears in another file (.../response/data), > > which can be read from (windows)client ( similar to: > > procfs_doproccmdline) - the whole stuff should work diskless > > - response data can be from a few bytes up to several megabyte > > > > > > - if I can manage, I could export this filesystem via samba _and_ nfs .= =2E. > > > > - if it all was only about acces to the black box, it could be done via > > HTTP ... unfortunately, I have to deal with windows clients > > I'm just curious: why can't the windows clients just use Firefox (or > any other browser) to access the black box? You can download files > (e.g. results) with a browser... > > Gary As I wrote: it could be done via browser, but=20 1. it is a request=20 2. I became curious, if it is possible ...=20 Richard BTW: I appologize, if I am cross-posting.=20 Originally only posted to freebsd-fs@freebsd.org. Don't realize, how it=20 appeared on freebsd-questions =2D-=20 Mit freundlichen Gr=C3=BC=C3=9Fen Richard K=C3=A4stner EDV-Beratung Woerthgasse 17 2500 Baden Austria