fdkernel icon indicating copy to clipboard operation
fdkernel copied to clipboard

does freedos kernel support exfat?

Open youxiaojie opened this issue 5 years ago • 7 comments

does freedos kernel support exfat?

youxiaojie avatar Oct 13 '19 19:10 youxiaojie

I believe exFAT doesn't support 8.3 filenames so I'm not sure how it could work with any DOS, ideas anyone...?

andrewbird avatar Nov 09 '19 10:11 andrewbird

The kernel does not currently support exfat. ExFat has patented components by Microsoft, though the inclusion into the Linux kernel means that may no longer be a road block. I have not looked into it much, but it may be possible to have limited support - long filenames are big blocker and support for exfat may have to wait until the kernel (if ever) has native long filename support. I believe (again off memory and haven't looked into in a long while), the on disk format may be similar enough to FAT that we can optionally support it on builds with 64 bit integer support (OpenWatcom and GCC?).

PerditionC avatar Nov 10 '19 16:11 PerditionC

exfat may have to wait until the kernel (if ever) has native long filename support.

Does this mean only a fat-based LFNs, or are you planning some redirector extensions?

stsp avatar Nov 10 '19 20:11 stsp

I will be looking into redirector extensions. No specific plans yet, but I would like to make long names as first class as possible while remaining compatible

PerditionC avatar Nov 11 '19 01:11 PerditionC

does exfat only accept long file name? I know it first. The most I hope is a command as driver like lfn driver, ntfs driver for dos.

youxiaojie avatar Nov 12 '19 16:11 youxiaojie

Since the last reply above, there has been improvements to doslfn.com for freedos (mainly from March-April 2022). So the latest stable FreeDOS build (of February 2022) may not issue latest update to doslfn.com if anyone downloads today say.

So, is it possible to have support for exfat, even if there are restrictions imposed?

richardFK avatar Jun 24 '22 02:06 richardFK

FWIW it looks like the exFAT specification was published by Microsoft in August 2019, with the express purpose of getting good Linux support.

sebras avatar Jul 17 '22 21:07 sebras