Jonathan de Boyne Pollard wrote to Will Honea on 11-11-1999
JP> WH> I'm at least curious as to how OS/2 is gonna react ;-}
JP>
JP> I suspect that we might be begging Daniela to modify
JP> Build_Next_VolCB() and Process_Partition() in OS2DASD.DMD .
JP> (-:
JP>
JP> By the looks of it (i.e. from reading the source),
JP> Process_Partition() takes the first recognisable partition
JP> in the MBR that it finds, and Build_Next_VolCB() only calls
JP> it once per MBR.
JP>
JP> The modification should be relatively simple. One simply needs to
JP> take the for(i=0;i<4;++i) loop out of Process_Partition() and move
JP> it into both Build_Next_VolCB() and BPBFromScratch(), modifying it
JP> along the way so that it doesn't exit prematurely any more by
JP> removing the `found' logic, and make Process_Partition() take the
JP> current loop index as an extra parameter instead.
JP>
JP> Daniela ?
I did something similar when I wrote a DOS driver to support more than
2 drives and I seem to recall some nasty problems with it. It's been
several years so I don't remember the details but a glance back at the
code shows I pulled it out.
Will Honea
--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
|