Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 23:02:43 +0100
From:      Richard =?iso-8859-1?q?K=E4stner?= <richard.kaestner@ycn.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: mapping [process|socket|...] to Filesystem
Message-ID:  <200601042302.43836.richard.kaestner@ycn.com>
In-Reply-To: <200601041420.k04EK049049833@lurza.secnetix.de>
References:  <200601041420.k04EK049049833@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 04 January 2006 15:20, Oliver Fromme wrote:
>
> Richard Kaestner <richard.kaestner@ycn.com> 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



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