Mail Archives: djgpp/1993/04/27/23:57:31
On Tue, 27 Apr 1993, Bob Babcock wrote:
> label on a disk.  Other than that, I agree with you.  (My interest in this is
> for a disk cataloging program which currently runs under DOS or the Ergo DOS
> extender.)  The FCB functions which I implemented do not include reading or
I've been writing a disk cataloging program as well, but have caught up on
a snag lately.  How do I detect write protection on a disk without hurting
it?  I can use INT 25 & 26 to do a read/write and detect if it is write
protected, but if it is a 360K disk in a 1.2M drive, bye-bye 360K disk. 
Any suggestions?  I've posed this question to Andrew Schulman, one of the
foremost DOS experts, but he was stumped as well.  
BTW, I realize this isn't djgpp material in any way shape or form.  Sorry!
/* Andrew */
"As far as the laws of mathematics refer to reality, they are not certain;
 and as far as they are certain, they do not refer to reality"
				Albert Einstein
- Raw text -