home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!cs.utexas.edu!wupost!spool.mu.edu!darwin.sura.net!blaze.cs.jhu.edu!gauss!bogstad
- From: bogstad@gauss.cs.jhu.edu (Bill Bogstad)
- Subject: Re: [ANNOUNCE]: linux version 0.99 (documenting minor enhancement)
- Message-ID: <1992Dec14.075303.12588@blaze.cs.jhu.edu>
- Keywords: kernel linux 0.99
- Sender: news@blaze.cs.jhu.edu (Usenet news system)
- Organization: Johns Hopkins Computer Science Department, Baltimore, MD
- References: <1992Dec13.193812.6958@tc.cornell.edu>
- Date: Mon, 14 Dec 1992 07:53:03 GMT
- Lines: 25
-
- In article <1992Dec13.193812.6958@tc.cornell.edu> torvalds@cc.helsinki.fi (Linus Torvalds) writes:
- >...
- >Changes:
- >
- >[Lots of good stuff.]
-
- But Linus didn't mention my favorite 5 line change. A new
- /proc/self entry which is a process directory which always refers to the
- process which is doing the filesystem lookup. Possibly not terribly useful;
- but could come in handy if you are dealing with programs that don't like to
- read from standard input. i.e.
-
- foo | dumb-program /proc/self/fd/0
-
- Be careful though because:
-
- $ cd /proc/self
-
- and
-
- $ ls /proc/self
-
- refer to your shell process and ls process respectively...
-
- Bill Bogstad
-