mapping [process|socket|...] to Filesystem
Richard Kästner
richard.kaestner at ycn.com
Wed Jan 4 14:02:58 PST 2006
On Wednesday 04 January 2006 15:20, Oliver Fromme wrote:
>
> Richard Kaestner <richard.kaestner at 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...
(which is definitely not what I want)
--
Mit freundlichen Grüßen
Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria
More information about the freebsd-fs
mailing list