home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15434 < prev    next >
Encoding:
Text File  |  1993-01-11  |  4.4 KB  |  82 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!swrinde!emory!gatech!udel!gvls1!jabber!candle!root
  3. From: root@candle.uucp (Bruce Momjian)
  4. Subject: Re: Description for the CRASH-Utility
  5. Organization: a consultant's basement
  6. Date: Mon, 11 Jan 1993 22:32:25 GMT
  7. Message-ID: <1993Jan11.223225.15784@candle.uucp>
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. References: <1282@kommu.UUCP>
  10. Lines: 70
  11.  
  12. 3730 (robert@kommu.UUCP) wrote:
  13. : I was wondering if somebody has a description of the 
  14. : "crash" - Utility. I am asking for a more detailed 
  15. : description.
  16.  
  17. Here is a diagram I worked on.  Capitalized words represent crash commands.
  18. ----
  19. PROCess               Virual        Segment/Page        Physical
  20.  table                Memory         Descriptor          Memory      
  21.  ______               ______           Tables            ______
  22. |______|             |_text_| \               PDT       |______|\
  23. |______| ------>     |______|  \    SDT       ___   /-->|______| \
  24. |______|             |_data_|   \   ____   ->|___|--    |______|  \     
  25. |______|             |______|    \ |____| /  |___|----->|______|
  26. |______|             |______|     \|____|-   |___|-_    |______|    PFDATa
  27. |______|             |      | -->  |____|           \   |______|    ___ 
  28. |______|             |STACK_|     /|____|---         \->|______|   |___|
  29. |______|             |------|    / |____|   |           |______| <-|___|->swap
  30.                      |kernel|   /           | PDT    /->|______|   |___|
  31.                      |------|  /            | ___   /   |______|   |___|
  32.                  ----|_USER_| /             >|___|-- /->|______|
  33.                 |    |______|/               |___|---   |______|    
  34.                 |                            |___|----->|______|  /
  35.                 |                                       |kernel| /
  36.                 |                                       |______|/
  37.                 | 
  38.      ----------- 
  39.     |
  40.     V 
  41.  
  42. USER File        
  43. Descriptor       FILE          INODE                          
  44.   Table          Table         Table                            Disk
  45.  ______         ______         ______                          ______
  46. |______|------>|______|---_   |______|                        |_boot_|
  47. |______|       |______|    \->|______|--------------------_   |super_|
  48. |______|---_   |______|       |______|                     \->|inode_|
  49. |______|    \->|______|-------|______|----------------------->|inode_|
  50. |______|---_   |______|    /->|______|--------------------_   |inode_|
  51. |______|    \->|______|----   |______|                     \->|inode_|
  52. |______|       |______|--_    |______|                     _->|inode_|
  53.                |______|   \   |______|                    /  -|_free_|
  54.                |______|    \->|______|--------------------  | |inode_|
  55.                |______|       |______|                      | |inode_|
  56.                |______|       |______|                      | |_free_|
  57.                |______|       |______|                      | |_data_|
  58.                                                             | |_data_|
  59.                                                             | |_free_|
  60.                                           Buffer            | |_data_|
  61.                                           Headers           | |_free_|
  62.                                           BUFHDR    BUFFERs | |_free_|
  63.                                           ______       __   | |_data_|
  64.                                          |______|---->|  |<-  |_free_|
  65.                                          |______|      --     |_data_|
  66.                                          |______|      __    _|_data_|
  67.                                          |______|---->|  |<-/ |_free_|
  68.                                          |______|      --     |_free_|
  69.                                          |______|      __     |_data_|
  70.                                          |______|---->|  |<---|_data_|
  71.                                          |______|      --     |_free_|
  72.                                                               |_swap_|
  73.                                                               |_swap_|
  74.                                                               |_swap_|
  75.                                                  
  76.  
  77. -- 
  78. Bruce Momjian                          |  830 Blythe Avenue
  79. root%candle.uucp@bts.com               |  Drexel Hill, Pennsylvania 19026 
  80.   +  If your life is a hard drive,     |  (215) 353-9879(w) 
  81.   +  Christ can be your backup.        |  (215) 853-3000(h)
  82.