Hi! 10-Авг-2004 10:02 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]:
>> BTW, what if FreeDOS will search (fd)config.sys not on C:, but on real >> bootable partition? Kernel knows which disk was used to boot (currently >> not preserved - at start of main.c:FreeDOSmain() LoL->BootDrive >> initialized to 1..3 for A:,B: and C:), and >> initdisk.c:ReadAllPartitionTables() may compute, which partition is >> booted from boot drive, so before calling DoConfig() consequent drive >> (instead C:) may be selected as default. Any objections? LG> Isn't the "real bootable partition" always assigned to C:? Not completely. See initdisk.c:ReadAllPartitionTables() - in case of MS-DOS order there always searched first primary active partition on _first_ disk. (If there is no active partition, searched any first primary partition). Only in case of (FreeDOS featured) "sorted by drives Drive Letter Assignment" FreeDOS assigns C: to _real_ active partition (see how first loop searches real boot drive). BTW, I think this (slightly) misleading, when (boot) partition from secondary disk becomes C:. Again, I suggest, probably, better to _not_ make it C:, but in main.c:FreeDOSmain() make it default (to allow process (fd)config.sys from it). LG> Let's concentrate on bgfixing before the imminent FD1 release. I not object, but this question may be studied _for future releases_. Isn't? :) ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel