• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Working with Disks and Drives > Secrets of Mastering the Windows 98 ...

Secrets of Mastering the Windows 98 Environment: How Win.com Determines an Improper Shutdown

The structure of the VFAT32 is such that the first 8 bytes of the table are reserved, and the last of these bytes is by default a hexadecimal 0F. The VFAT and the Windows 98 operating system work together to modify the fourth bit of this byte to be either a 1 or 0. A value of 0 indicates that the file system has actually written the data to disk, whereas a value of 1 indicates that Windows 98 was improperly shut down, possibly during a file write. During a file write, VFAT is responsible for the write to disk and clears the fourth bit to 0.

When shutting down Windows 98 in an acceptable mode, the operating system resets this bit to 1. During a subsequent reboot, the Win.com file reads the bit to determine whether the system was shut down properly. If the value of the bit reads 0, ScanDisk checks for drive errors.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint