home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22851 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.1 KB  |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!timbuk.cray.com!walter.cray.com!roberts
  3. From: roberts@decsun3.cray.com
  4. Subject: /proc inquiry
  5. Message-ID: <1993Jan5.183447.27930@walter.cray.com>
  6. Lines: 23
  7. Sender: roberts@decsun3 (Michael Roberts  {67000 CF/DEV})
  8. Nntp-Posting-Host: decsun3.cray.com
  9. Organization: Cray Research, Inc., Chippewa Falls, WI
  10. Date: 5 Jan 93 18:34:47 CST
  11.  
  12.  
  13. I've been trying to use the proc filesystem and have a small problem.
  14. I am using linux 0.99 pl1, but I get the same results with pl0.
  15. I am mounting /proc with the command
  16.  
  17.     mount -t proc /proc /proc
  18.  
  19. which works fine, I can "cd /proc" and see directories for each process.
  20. However, when I go into any of these, the links point nowhere:
  21.  
  22.     cwd -> ---
  23.     exe -> ---
  24.     root -> ---
  25.  
  26. Doing a "cd cwd" leaves me in the same place. Same thing goes for the
  27. links in the "fd" directory and "lib" directory. Am I correct in thinking 
  28. that the link should point to the actual files or directories?  I am
  29. doing all this as root, so there shouldn't be any permission problems.
  30.  
  31. I've searched the FAQ but I couldn't find an answer there. Any help 
  32. here would be much appreciated.
  33.  
  34. Mike Roberts
  35.