home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / programm / 11545 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.3 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!swrinde!gatech!gatech!wa4mei!nanovx!mycro!scott
  2. From: scott@mycro.UUCP (Scott C. Sadow)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Help: How to (not) identify a network drive
  5. Message-ID: <1992Dec19.110730@mycro.UUCP>
  6. Date: 19 Dec 92 16:07:30 GMT
  7. References: <1992Dec16.141307.3469@ugle.unit.no>
  8. Lines: 24
  9.  
  10. In article <1992Dec16.141307.3469@ugle.unit.no>, news@ugle.unit.no (NetNews Administrator) writes:
  11. >I've written a device driver implementing a RAM disk. The driver uses
  12. >an add-on board with up to 320 MB DRAM for storage. My problem is,
  13. >MS-DOS has got this stupid idea it is a network drive, and certain
  14. >programs (e.g. CHKDSK, Norton Disk Doctor ) does not accept the disk.
  15. >Could anyone out there help me with the following, please:
  16. >
  17. >How does MS-DOS identify a network drive?
  18. >
  19. >Why is my drive identified as a network drive when the Media Descriptor
  20. >Byte i return says "Fixed disk" (0f8h)?
  21. >
  22. >How do i get MS-DOS to understand "the true nature" of my driver?
  23. >
  24.  
  25. For a block device, bit 12 of the device driver attribute word is set if
  26. the drive is a network drive, and reset if local drive. Make sure that bit
  27. is reset. (To double check, I just changed my local drives to network
  28. drives by setting that bit in their device driver attribute word)
  29.  
  30.  
  31.    Scott C. Sadow
  32.    scott@mycro.UUCP
  33.    ...gatech!nanovx!mycro!scott
  34.