home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15835 < prev    next >
Encoding:
Text File  |  1992-11-07  |  2.0 KB  |  48 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aurora.cc.monash.edu.au!ins217t
  3. From: ins217t@aurora.cc.monash.edu.au (Andrew J. Cosgriff !)
  4. Subject: Re: What is 'proc'?
  5. Message-ID: <ins217t.721024886@aurora.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Monash University, Melb., Australia.
  8. References: <1992Nov3.051046.29607@cs.tulane.edu> <1992Nov3.194356.5661@muddcs.claremont.edu>
  9. Date: Fri, 6 Nov 1992 04:41:26 GMT
  10. Lines: 36
  11.  
  12. jwinstea@fenris.claremont.edu (Jim Winstead Jr.) writes:
  13.  
  14. >In article <1992Nov3.051046.29607@cs.tulane.edu> butler@cs.tulane.edu (Larry Butler) writes:
  15. >>I see references to a fs called 'proc'. What is that? What are it features?
  16.  
  17. >The 'proc' filesystem isn't really a real filesystem when compared to
  18. >say, the MS-DOS or Minix filesystems, but instead is a sort of
  19. >'psuedo-filesystem'.  It provides a way of looking at (and accessing?)
  20. >processes via the filesystem.  For example, I have a proc filesystem
  21. >mounted at /proc, underneath /proc, there are bunch of directories
  22. >corresponding to various processes (for example:
  23.  
  24. >    1/     21/    2925/  2992/  2996/  35/    38/
  25. >    20/    22/    2926/  2993/  3/     37/    8/
  26.  
  27. >Now, underneat each on of these, the following appears:
  28.  
  29. >    cwd@   exe@   fd/    lib/   mem    root@
  30.  
  31. >The links (cwd, exe, and root) are symlinks to the current working
  32. >directory, the executable, and the root of the processes filesystem,
  33. >respectively.  The fd directory provides a way to access the file
  34. >descriptors of the process, lib is the libraries being used, and mem
  35. >is analagous to /dev/mem.
  36.  
  37. So how do you mount it ? Do you need to recompile mount or something ?
  38.  
  39. <excuse the ignorance, i only just found out what it was the other day, and
  40. am a little unsure what to do with it...>
  41.  
  42. Cos !
  43. -- 
  44. Andrew J. Cosgriff !    ins217t@aurora.cc.monash.edu.au
  45.             ins217t@lindblat.cc.monash.edu.au
  46.             cos@yoyo.cc.monash.edu.au
  47. "Language is a virus from outer space" - William S. Burroughs
  48.