home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3931 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.6 KB

  1. Path: sparky!uunet!mcsun!uknet!news.cs.bham.ac.uk!idf
  2. From: idf@cs.bham.ac.uk (Ian Fitchet)
  3. Newsgroups: comp.unix.programmer
  4. Subject: Re: named pipes (was: Finger and .plan, .project)
  5. Message-ID: <IDF.92Jul27105241@fat-controller.cs.bham.ac.uk>
  6. Date: 27 Jul 92 10:52:41 GMT
  7. References: <19076@fritz.filenet.com> <14u80cINNbd8@grasp1.univ-lyon1.fr>
  8.     <1992Jul26.165838.1278@news.eng.convex.com>
  9. Sender: news@cs.bham.ac.uk
  10. Followup-To: comp.unix.programmer
  11. Organization: School of Computer Science, University of Birmingham
  12. Lines: 31
  13. In-Reply-To: tchrist@convex.COM's message of 26 Jul 92 16:58:38 GMT
  14. Nntp-Posting-Host: fattie
  15.  
  16.  
  17.  Please excuse technical abberations, I'm still learning :-)
  18.  
  19.  On 26 Jul 92 16:58:38 GMT, Tom Christiansen wrote
  20.  
  21. Tom> Furthermore, I believe that under both Plan9 and SunOS that you can have a 
  22. Tom> filesystem type that does the right thing, so if people did this:
  23.  
  24. Tom> ln -s ~/.plan /plans/$USER
  25.  
  26. Tom> Then have /plans be a special filesystem type that triggers invocation
  27. Tom> of the right code.
  28.  
  29.  It doesn't strike me as being a particularly large step to modify the
  30. code that catches /dev/* entries.  Devices are caught by the kernel
  31. and the device driver is invoked, would it not be possible to flag a
  32. file such that when it's opened a user process is invoked (a la inetd).
  33.  
  34.  How you do this is another matter, of course :-).  Perhaps
  35. registering a table of file/proc pairs with a default for unregistered
  36. ones?
  37.  
  38. --
  39. Cheers,
  40.  
  41.     Ian
  42.  
  43. -------------------------------------------------------------------------------
  44. Ian Fitchet                           I.D.Fitchet@cs.bham.ac.uk
  45. School of Computer Science
  46. Univ. of Birmingham, UK, B15 2TT
  47.