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

  1. Xref: sparky comp.os.msdos.misc:4703 comp.os.msdos.apps:4310 mtl.general:173
  2. Newsgroups: socs.misc,comp.os.msdos.misc,comp.os.msdos.apps,mtl.general
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!homer.cs.mcgill.ca!mikey
  4. From: mikey@cs.mcgill.ca (The Procrastinator P1000)
  5. Subject: Re: WARNING !!!!! MS WINDOWS 3.1 SmartDrive Problem
  6. Message-ID: <1992Aug14.003626.16914@cs.mcgill.ca>
  7. Sender: news@cs.mcgill.ca (Netnews Administrator)
  8. Organization: Tessier-Ashpool monitor, Maas-Neotek Corp
  9. References: <1992Aug13.040731.2286@cs.mcgill.ca> <exuptr.165.713735233@exu.ericsson.se>
  10. Date: Fri, 14 Aug 1992 00:36:26 GMT
  11. Lines: 84
  12.  
  13.  
  14. There's a fair amount of disinformation in both of these posts.. 
  15. I don't speak for Microsoft, just for me.
  16.  
  17. >>>
  18. * exuptr@exu.ericsson.se (Patrick Taylor) Has publicly proclaimed:
  19. *
  20. >In article <1992Aug13.040731.2286@cs.mcgill.ca> tennis@cs.mcgill.ca (Pascal PROULX) writes:
  21. >
  22. >>The following article was taken from the PC WORLD ONLINE via the America
  23. >>Online BBS and is an important warning for all MS WINDOWS 3.1 users.
  24. >
  25. >>The following information was passed on to PC WORLD ONLINE by PCW George,
  26. >>(George Campbell, a PC WORLD Editor).
  27. >
  28. >>"After considerable testing, I have discovered a major problem with the 
  29. >>version of SmartDrive included with Windows 3.1. The default installation
  30. >>of SMARTDRV.EXE enables write caching on your hard disks. Most often this
  31. >>is not a problem but, under certain circumstances, it could crash your hard
  32. >>disk. A typical situation is described below :
  33. >
  34. >>1) If you use a program wich handles multiple boot-up configurations by using
  35. >>   alternative Autoexec.bat and Config.sys files then automatically
  36. >>   re-booting, SmartDrive won't write the new files to the hard disk before
  37. >>   the computer reboots. This could cause damage to you FAT table if the disk
  38. >>   write is only partiallt completed. In most cases, however, the copying job
  39. >>   will not be done, and the computer will reboot safely.
  40. >
  41. >Ok.
  42.  
  43. Any and ALL caching programs do this. Any program that is going to do disk I/O
  44. should be checking the multiplexer (int 2Fh and int 31h) and the VM state. 
  45. Further, all files should be closed, and flushed. If the file is, however, in
  46. the process of being written, all that can happen is the allocation entry for 
  47. file is incomplete. Left unchecked this can cause corruption, in rare cases. 
  48.  
  49.  
  50. >
  51. >>2) In some Windows programs, not enough time is allowed for SmartDRive to
  52. >>   write files to disk. In this case, if you shut off your computer for some 
  53. >>   reason, your files will not be saved. In the worst scenario, your FAT tables
  54. >>   may be damaged.
  55. >
  56. >This could happen without smartdrive.  Windows is unpredicatble about when
  57. >it will decide to write something to disk.  Solution: don't turn your
  58. >PC off without exiting Windows and parking your drive heads.
  59.  
  60. Exactly, well almost. Most modern (last 3-5 years) drives don't need to be 
  61. parked. In fact, if you try and park a sector translation drive (IDE,ESDI,SCSI)
  62. with an old MFM utility you can do nasty things to the drive.
  63.  
  64. Windows isn't that unpredictable when it will write things to disk. If you're 
  65. not swapping you're usually ok. In all cases you should close any app before
  66. exiting windows. If you don't it's not "Windows" that isn't writing things
  67. out, it's each individual app, which has files open. The PageFile VxD can't 
  68. be corrupted by a shutdown, if it's writing, only open files can.
  69.  
  70. None of the above are Smartdrv problems. Smartdrv provides a pool of memory to
  71. windows to cache the disks with. It was decided, however, to leave default
  72. caching of INI files out of win 3.1 for this (and a few other) reasons. 
  73.  
  74. >
  75. >>3) If a power failure occurs during the gap before cached data is written to
  76. >>   the hard disk, you could damage your FAT tables.
  77. >
  78. >This could happen without smartdrive, too.  Solution: buy a UPS.  Nothing
  79. >else can give you nearly perfect protection.
  80.  
  81. This can ruin your day if you're running ANYTHING ON ANY computer. 
  82.  
  83.  
  84. You're trying to blame a single item with generic dangers of Computing.
  85. What do you do if you have a caching controller and the power dies.
  86. I mean , write behind is not the best thing to use for data security if 
  87. you want speed. But YOU the USER must be logical and responsible. Turning a 
  88. machine off with files open is known to cause problems, regardless of the OS.
  89.  
  90. Just trying to clarify...
  91.                     -mikey
  92. -- 
  93. |mikey@cs.mcgill.ca-Mike Gallop- t-mikeg@microsoft.com        McGill Comp Sci |
  94. |Programming n. 1. The art of debugging a blank sheet of paper.                  |
  95. |               2. A pastime similar to banging one's head against a wall, but|
  96. | but with fewer opportunities for reward.                                    |
  97.