On Thu, 4 Jan 2024 00:57:18 +0100 Bernd Böckmann via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote:
> Hi, > > while hunting a FDISK bug reported to me on Github regarding the order > of the drive letters FDISK assigns, I noted that the FreeDOS Kernel > actually supports different drive sorting algorithms via its > DLASortByDriveNo config setting. While it is unrelated to the bug, this > may impose a problem if the FreeDOS Kernel and FDISK disagree over the > drive letters. For example, the user could be confused and delete the > wrong drive. > > Taking this under account I think it would make sense for FDISK to adapt > to the Kernel setting, or does anything speak against it? Can I query > the DLASortByDriveNo Kernel parameter at runtime? And if so, is there an > intended way to do this? > > Greetings, Bernd It sounds like adapting to the current kernel setting would be a good thing to do. I wonder if the kernel's int21/33xx could be extended to return the setting in DL? See https://fd.lod.bz/rbil/interrup/dos_kernel/213305.html Thanks, Andrew _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel