Righto, one for the serious heads among us..
What I need to do is, make a double headed fifo on the Linux file system,
this is probably the wrong name..... but it sounds good...
I want to have two files on the Linux FS such that if I have two minicom
style apps, Ma and Mb, and I have twos file Pa and Pb, Ma opens Pa for
read+write, Mb open Pb for read+write, anything Ma write to Pa is read by
Mb on Pb, and anything Mb writes to Pb comes out at Ma on Pa,
IF you think this is a FIFO in the linux sense, it isn't, a fifo is
anything Ma write or Pa it reads back from Pa,
The restrictions are no changes to the minicom applications, they must be
able to open the file for read+write as they are doing now, just like a
serial port.... so this means no UNIX socket code, Internet socket code,
the apps are not to be changed..
Has anyone heard of anything like this, available or in kernel, I know I
could code it but time is tight as ever...
Dave.
--
David Airlie, Software Engineer
Drua Technologies Ltd, Innovation Centre, National Tech Park, Limerick.
t: +353-61-503075 / f: +353-61-338065 / David.Airlie at drua.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!