home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / WPWPS2.FAX < prev    next >
Text File  |  1994-11-25  |  3KB  |  94 lines

  1. WPSHL Problem Determination              7/15/94
  2.  
  3. OSWPWPS2.FAX
  4.  
  5. WORKPLACE SHELL PROBLEMS DETERMINATION
  6. --------------------------------------
  7.  
  8. The following areas are discussed:
  9. Extended Attributes (including sections on file systems, Dos
  10. utilities, Deinstalling OS/2, and CHKDSK), Shutdown, INI files,
  11. Nowhere directory, and the WP ROOT. SF file.
  12.  
  13. EA's
  14.  EA's play a major role in OS/2 2.0. The Workplace Shell uses
  15.  ea's for everything.
  16.  The WP Object is the object in workplace shell from which the
  17.  other objects descend. EA's contain the information as to kind
  18.  of object, where it is located, etc.
  19.  Three types of objects:
  20.    Persistent - These objects persist across boots
  21.      1. File system objects : Program references and folders are
  22.     examples.  The Desktop Directory contains the ea's for
  23.     these objects.
  24.      2. Abstract objects : Printer, shredder, color palette are
  25.     examples. The information for these objects are stored
  26.     in the ini files.
  27.      3. Transients - These objects are gone upon reboot ( Find
  28.     results or Task List)
  29.  
  30.  
  31. HPFS file systems have the ea attributes attached to each file.
  32. FAT file systems have all the ea's in the ea data. sf file.
  33.  
  34. DOS Utilities
  35. Most DOS utilities are not concerned with preserving the
  36. pointers to the ea attributes that are contained in the FAT
  37. table. These utilities often do absolute sector reads and
  38. writes instead of manipulating the entire FAT entries.
  39. This is the reason people should not run disk defragmenters even
  40. from the DOS environment on a dual boot system. The pointers in
  41. the FAT cross-linked, etc.) result.  Chkdsk /f cannot always
  42. clear these pointer from the FAT table entries.
  43.  
  44.  
  45. DOS utilities cannot harm a disk with an HPFS OS/2 partition
  46. since DOS cannot see the partition or manipulate the files.
  47.  
  48.  
  49.  
  50. Deinstalling OS/2
  51. The only way recommended for deinstalling OS/2 (for a successful
  52. reinstall of OS/2) is to format.
  53.  
  54. HPFS
  55. Chkdsk should not be run on a live drive. (Swapper will always
  56. show allocation errors as it cannot be correct with the
  57. shrinking and growing. Swapper allocation errors should not be
  58. of concern.)
  59.  
  60. Chkdsk /f may take several passes to clean up an HPFS drive as
  61. it cleans up primary structures and then secondary structures
  62. in several passes.
  63.  
  64. Shutdown
  65. A poor shutdown can corrupt ini files because the workplace
  66. shell uses lazywrite threads and the information may be only
  67. half written out to the ini files.  EA information may not be
  68. completely written either.
  69.  
  70. INI's
  71. If you run makeini without erasing the ini file, you will be
  72. updating the ini. This is the best method to try for replacing
  73. objects that have been lost from the desktop.
  74. This procedure will not reinitialize your desktop to its default
  75. state.
  76.  
  77. Placing your current ini files and config.sys in the install
  78. directory should restore your system to its current state when
  79. an ALT-F1 is performed.
  80.  
  81. Nowhere
  82. The nowhere directory should have nothing in it. When an object
  83. doesn't know where to go, it goes there. It can get moved by
  84. moving it from the command prompt.
  85.  
  86. WP ROOT. SF
  87. This file exists for each drive (including floppies and lan
  88. drives). A place was needed for ea's to be kept for drives
  89. objects since ea's can't be attached to the root directory.
  90. This file should be erased when drive objects are not working
  91. correctly, as when the icons are messed up, files are missing,
  92. or the drives icon opens and immediately closes.
  93. 12/31/99
  94.