home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / misc / 4793 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  4.3 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!swrinde!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
  2. From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
  3. Newsgroups: comp.os.msdos.misc
  4. Subject: Re: WARNING !!!!! MS WINDOWS 3.1 SmartDrive Problem
  5. Message-ID: <1992Aug18.155405.11433@mksol.dseg.ti.com>
  6. Date: 18 Aug 92 15:54:05 GMT
  7. References: <1992Aug17.202907.12273@schbbs.mot.com>
  8. Organization: Texas Instruments Inc
  9. Lines: 82
  10.  
  11. In <1992Aug17.202907.12273@schbbs.mot.com> P70008@waccvm.corp.mot.com (Bill Nelson) writes:
  12.  
  13. We've seen this bit of FUD cropping up all over.  There are a few
  14. misstatements in it, from my reading.
  15.  
  16. >The following article was taken from the PC WORLD ONLINE via the America
  17. >Online BBS and is an important warning for all MS WINDOWS 3.1 users.
  18.  
  19. >The following information was passed on to PC WORLD ONLINE by PCW George,
  20. >(George Campbell, a PC WORLD Editor).
  21.  
  22. >"After considerable testing, I have discovered a major problem with the
  23. >version of SmartDrive included with Windows 3.1. The default installation
  24. >of SMARTDRV.EXE enables write caching on your hard disks. Most often this
  25. >is not a problem but, under certain circumstances, it could crash your hard
  26. >disk. A typical situation is described below :
  27.  
  28. This is NOT a "major problem".  It is supposed to work this way and is
  29. documented to work this way.  It is not the only write-behind cache
  30. for MS-DOS, and practically every 'real' computer system in the world
  31. works this way. 
  32.  
  33. >1) If you use a program wich handles multiple boot-up configurations by using
  34. >   alternative Autoexec.bat and Config.sys files then automatically
  35. >   re-booting, SmartDrive won't write the new files to the hard disk before
  36. >   the computer reboots. This could cause damage to you FAT table if the disk
  37. >   write is only partiallt completed. In most cases, however, the copying job
  38. >   will not be done, and the computer will reboot safely.
  39.  
  40. As noted by the original poster, the way to deal with this is to place
  41. the command SMARTDRV /C in the batch file immediately preceding the
  42. reboot command.  This will flush all buffers and everything will work
  43. fine. 
  44.  
  45. >2) In some Windows programs, not enough time is allowed for SmartDRive to
  46. >   write files to disk. In this case, if you shut off your computer for some
  47. >   reason, your files will not be saved. In the worst scenario, your FAT tables
  48. >   may be damaged.
  49.  
  50. If this is happening and you're pulling the plug immediately after
  51. writing and before exiting Windows, yes, you could have this problem.
  52. Exiting Windows will cause the cache to be flushed.  You can get the
  53. same damage WITHOUT SmartDrive loaded, if you are in the habit of
  54. pulling the plug on your computer while it is still in Windows and
  55. right after you issue a command to write from a program.
  56.  
  57. >3) If a power failure occurs during the gap before cached data is written to
  58. >   the hard disk, you could damage your FAT tables.
  59.  
  60. There is no additional risk, since you could also have a power failure
  61. during a 'normal' write which would do the same thing.
  62.  
  63.  
  64. >******************
  65. >SOLUTION :
  66. >******************
  67.  
  68. >Disable write-caching in SmartDrive. This is not a documented in the Windows
  69. >Manual, but is ducomented in SmartDrive's help screen. To disable
  70. >write-caching, modify the line in your AUTOEXEC.BAT file as shown below :
  71.  
  72. This *IS* documented in the Windows manual (or in one of the files
  73. they tell you to read after you install -- I forget exactly which, but
  74. I know I've seen the whole thing with SMARTDRV clearly explained
  75. without invoking 'help' on it.
  76.  
  77. Do NOT disable write-caching.  It is totally unnecessary and it will
  78. indeed slow things down.  Instead, simply fix any BAT files that
  79. reboot the machine, as noted above.  Other than that, exit to a DOS
  80. prompt and wait 5 seconds (the default pause time -- buffers will be
  81. flushed after 5 seconds or when the processor is idle, whichever
  82. occurs first) before powering down your machine.
  83.  
  84. This is all clearly documented in the book that no one reads and the
  85. files that never get looked at.
  86.  
  87.  
  88. -- 
  89. "Insisting on perfect safety is for people who don't have the balls to live
  90.  in the real world."   -- Mary Shafer, NASA Ames Dryden
  91. ------------------------------------------------------------------------------
  92. Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
  93.