Optional support for network and removable drives
Brought to you by:
miracle2k
Created a custom installer containing three alternate patches as well as the original binaries. One for removable support, one for network support, and a third for both at the same time. I do not have a compatible Pascal compiler so I had to disassemble alter, and then manually re-assemble the existing binary, which is why there is no GUI option, instead a simple option during installation.
The installer is larger than the SourceForge 256KB "patch filesize" limit, so the file can be downloaded here instead:
Wow, that sounds like a lot of work. FWIW, you might find it easier to port the code to Free Pascal (this would also allow 64bit support).
The current code is at: http://github.com/miracle2k/ntfslink/tree/master/ntfslinkext
My limited experience with Pascal combined with the lack of a good ComServ for FreePascal, renders that unlikely to happen in the immediate future. I'm actually considering porting it to C++, which I have much more familiarity with.
The real challenge for this patch came from writing the appropriate assembly routines with the additional drive type checks, that would still fit into the same number of bytes (relocating code is a pain).
Luckily most Delphi compilers produce rather readable (aka, non-optimized) output, so the job was not too difficult, and much faster than either writing a complete port or hacking the drivetype in the Windows HAL.
In fact, if you do a dif on the binaries you can spot the few bytes in the drive type check function that I changed.
can not download