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