translating LFNs into short 8.3 form (Miscellaneous)
I think that best and most probably ONLY working solution how to transparently generate 8+3 names from LFNs is to compute hash-values from LFN names and use it as a part of SFN.
Example: we have file "Glory_for_freedos.txt"
1) by some algorithm compute hash from string "Glory_for_freedos.txt", which will be a two-char number (like 72) or two-char alfanumerical value (like 4K)
2) such value would be added after first five chars of SFN and tilde:
glory~72.txt
NOTES:
a) SFNs will not be generated for files which already match the standard 8+3 scheme
b) SFNs will be used only by legacy DOS functions. LFN functions would, of course, use the native LFN names.
c) it must be specified what to do if hash collision occurs
---
DOS-u-akbar!
Complete thread:
- exFAT - Drewfus, 10.11.2010, 13:49 (Miscellaneous)
- exFAT == less than ideal - Rugxulo, 10.11.2010, 14:12
- exFAT - Laaca, 10.11.2010, 14:44
- translating LFNs into short 8.3 form - Arjay, 13.11.2010, 21:32
- translating LFNs into short 8.3 form - ecm, 13.11.2010, 21:46
- translating LFNs into short 8.3 form - Drewfus, 14.11.2010, 22:30
- translating LFNs into short 8.3 form - RayeR, 15.11.2010, 02:37
- translating LFNs into short 8.3 form - Laaca, 11.01.2011, 00:20
- translating LFNs into short 8.3 form - ecm, 11.01.2011, 16:09
- translating LFNs into short 8.3 form - bretjohn, 11.01.2011, 19:40
- translating LFNs into short 8.3 form - Laaca, 11.01.2011, 21:58
- translating LFNs into short 8.3 form - ecm, 11.01.2011, 23:06
- translating LFNs into short 8.3 form - Laaca, 11.01.2011, 21:58
- translating LFNs into short 8.3 form - bretjohn, 11.01.2011, 19:40
- translating LFNs into short 8.3 form - RayeR, 12.01.2011, 02:29
- translating LFNs into short 8.3 form - roytam, 12.01.2011, 09:11
- translating LFNs into short 8.3 form - ecm, 11.01.2011, 16:09
- translating LFNs into short 8.3 form - ecm, 13.11.2010, 21:46
- translating LFNs into short 8.3 form - Arjay, 13.11.2010, 21:32
- exFAT - Laaca, 10.11.2010, 14:44
- exFAT == less than ideal - Rugxulo, 10.11.2010, 14:12