home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20297 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.2 KB  |  38 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!cs.utexas.edu!wupost!spool.mu.edu!darwin.sura.net!blaze.cs.jhu.edu!gauss!bogstad
  3. From: bogstad@gauss.cs.jhu.edu (Bill Bogstad)
  4. Subject: Re: [ANNOUNCE]: linux version 0.99 (documenting minor enhancement)
  5. Message-ID: <1992Dec14.075303.12588@blaze.cs.jhu.edu>
  6. Keywords: kernel linux 0.99
  7. Sender: news@blaze.cs.jhu.edu (Usenet news system)
  8. Organization: Johns Hopkins Computer Science Department, Baltimore, MD
  9. References: <1992Dec13.193812.6958@tc.cornell.edu>
  10. Date: Mon, 14 Dec 1992 07:53:03 GMT
  11. Lines: 25
  12.  
  13. In article <1992Dec13.193812.6958@tc.cornell.edu> torvalds@cc.helsinki.fi (Linus Torvalds) writes:
  14. >...
  15. >Changes:
  16. >
  17. >[Lots of good stuff.]
  18.  
  19.     But Linus didn't mention my favorite 5 line change.  A new
  20. /proc/self entry which is a process directory which always refers to the
  21. process which is doing the filesystem lookup.  Possibly not terribly useful;
  22. but could come in handy if you are dealing with programs that don't like to
  23. read from standard input.  i.e.
  24.  
  25. foo | dumb-program /proc/self/fd/0
  26.  
  27. Be careful though because:
  28.  
  29. $ cd /proc/self
  30.  
  31. and
  32.  
  33. $ ls /proc/self
  34.  
  35. refer to your shell process and ls process respectively...
  36.  
  37.                 Bill Bogstad
  38.