Hi Enrico, > 1. How does FreeDOS to detect and read a LFN entry?
It does not > 2. How FreeDOS writes a LFN entry? It does not Both functions are implemented in driver TSRs like DOSLFN, which split long Unicode file names into short UTF-16 fragments which are stored in special "invalid" directory entries to hide them from normal DOS. Each file with a long name also is associated to one short named directory entry, which is the one which is actually used by the DOS kernel. There are also some "kernel LFN hooks" implemented in our source, but I do not know for which driver they were made and I doubt that you can still compile a kernel with those old LFN hooks enabled. They were rarely used and the kernel has changed considerably since then. Eric PS: Microsoft still holds patents for some of the more (CPU/disk) efficient algorithms / tricks for juggling with LFN fragments on disk. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
