Hi,

> Am 10.06.2025 um 14:19 schrieb Jerome Shidel via Freedos-devel 
> <freedos-devel@lists.sourceforge.net>:
> 
> When installing the ADT2 package[1] from the repository at FD.LOD.BZ using 
> FDNPKG, it would install the 999 files in the package. However, the 
> FREEDOS\PACKAGES\ADT2.LST file would only contain about 300 entries. 
> Uninstalling the package would obviously leave many files behind. There may 
> have also been some file system corruption during the install. 
> 

These are actually file system corruption bugs. Steps to reproduce:

- Install DOSLFN and reboot
- Change to the \packages\net directory of the FreeDOS installation CD or 
wherever your FreeDOS packages are
- Install arachne via FDNPKG install arachne.zip

Do a MS-SCANDISK on the FreeDOS system drive. Result: corrupted file system.

FDNPKG is a 32 bit executable built with DJGPP. One can prevent the DJGPP 
runtime from using LFN functions by setting the environment variable LFN=n. 
Package installation is then at least one order of magnitude faster (down from 
23 minutes to 53 seconds), and the file system corruption does not occur.

File system corruption also does not occur when installing via FDINST install 
arachne.zip, as FDINST has no built-in LFN support.

Further, exchanging the FreeDOS kernel with my EDR fork from [1] (and creating 
a dconfig.sys resembling fdconfig.sys), then installing the package, does NOT 
seem to corrupt the file system.

So the bug only seems to occur when using DOSLFN under the FreeDOS kernel. Not 
sure which is to blame. Theoretically it could also be a FDNPKG bug. But 
chances are low...

[1]: https://github.com/SvarDOS/edrdos

Bernd



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to