From owner-freebsd-fs@FreeBSD.ORG Wed Jan 4 22:02:58 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 CB83116A41F for ; Wed, 4 Jan 2006 22:02:58 +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 8948843D48 for ; Wed, 4 Jan 2006 22:02:53 +0000 (GMT) (envelope-from richard.kaestner@ycn.com) Received: (qmail 3967 invoked from network); 4 Jan 2006 22:02:46 -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; 04 Jan 2006 22:02:46 -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 k04M2je3006812 for ; Wed, 4 Jan 2006 23:02:45 +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 k04M2hc3006811 for freebsd-fs@freebsd.org; Wed, 4 Jan 2006 23:02:43 +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: Wed, 4 Jan 2006 23:02:43 +0100 User-Agent: KMail/1.7 References: <200601041420.k04EK049049833@lurza.secnetix.de> In-Reply-To: <200601041420.k04EK049049833@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601042302.43836.richard.kaestner@ycn.com> 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: Wed, 04 Jan 2006 22:02:58 -0000 On Wednesday 04 January 2006 15:20, Oliver Fromme wrote: > > Richard Kaestner wrote: > > 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 > > ... > > > > - 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 > > It would be much easier to use HTTP instead of (ab)using > file system operations. Just install an Apache web server > on your server machine and write a small CGI. The Windows > clients can simply use a web browser to upload their data > to your CGI. Then your CGI does whatever is necessary to > communicate with your black box, and sends the result back > to the client's web browser. > > Best regards > Oliver Oliver , thank you for the frank words: ...(ab)using...=20 (which is definitely not what I want) =2D-=20 Mit freundlichen Gr=FC=DFen Richard K=E4stner EDV-Beratung Woerthgasse 17 2500 Baden Austria