home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11182 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.6 KB  |  52 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!odin!sgihub!eurohub!vaquero.neu.sgi.com!mannel
  3. From: mannel@vaquero.neu.sgi.com (Bill Mannel)
  4. Subject: Re: how to use /debug?
  5. Message-ID: <1992Jul22.175229.19328@eurohub.neu.sgi.com>
  6. Sender: news@eurohub.neu.sgi.com (Net news)
  7. Nntp-Posting-Host: vaquero.neu.sgi.com
  8. Reply-To: mannel@vaquero.neu.sgi.com (Bill Mannel)
  9. Organization: Silicon Graphics S.A., Neuchatel, Switzerland
  10. References:  <1992Jul22.160133.314@cs.yale.edu>
  11. Date: Wed, 22 Jul 1992 17:52:29 GMT
  12. Lines: 38
  13.  
  14. In article <1992Jul22.160133.314@cs.yale.edu>,
  15. nathan@laplace.biology.yale.edu (Nathan F. Janette) writes:
  16. |> A programmer here needs to use dbx, which requires the /debug
  17. |> filesystem to be mounted.  The trouble is, the man page on
  18. |> dbg/debug doesn't explain how to mount it, and neither does
  19. |> the man info on fstab.  I don't see any candidates for mounting
  20. |> in the /dev directory.
  21. |> 
  22. |> How do I mount /debug?
  23. |> 
  24. |> --
  25. |> Nathan Janette        "I'm a NeXTstep man,
  26. |> Dept MB&B, Yale Univ     I'm a NeXTcube guy"
  27. |> New Haven, CT
  28. |> nathan@laplace.biology.yale.edu (NeXT)
  29. |> 
  30.  
  31.  
  32. as root, make sure you have a /debug directory:
  33.  
  34. # mkdir /debug
  35.  
  36. then use mount(1M)
  37.  
  38. # mount -t dbg /debug /debug
  39.  
  40. use df /debug to look at:
  41.  
  42. # df /debug
  43.  
  44. This will normally be done at boot time (look at the
  45. /etc/init.d/MOUNTFSYS file -
  46. it checks to see if you have a /debug directory, and then uses mount(1M)
  47. command as above)
  48.  
  49. In earlier O.S. versions (3.3 and before) /debug showed up with a
  50. regular df, but
  51. starting in 4.0, you have to do a df /debug to see it.
  52.