dorimanx / exfat-nofuse

Android ARM Linux non-fuse read/write kernel driver for exFat and VFat Android file systems
GNU General Public License v2.0
710 stars 326 forks source link

It makes corruptions to the filesystem #71

Closed wisecrick closed 8 years ago

wisecrick commented 9 years ago

Even I made little modifications to the filesystem (eg: move one file from one directory to another), the windows chkdsk utility will report the filesystem has some errors.

C:\Windows\system32>chkdsk /f e: The type of the file system is exFAT. Volume Serial Number is 34BF-9407 Windows is verifying files and folders... Volume label is DATA. Corruption was found while examining files in directory \soft\Adobe............

Windows has made corrections to the file system.

I don't touch the files in this directory.

lqs commented 9 years ago

try to mount with -o namecase=0

ismail commented 9 years ago

exfat has no case sensitivity according to https://msdn.microsoft.com/en-us/library/windows/desktop/ee681827(v=vs.85).aspx#functionality , I wonder why the code has an option for this.

wisecrick commented 9 years ago

Well, it works, and I also wonder what happens if I don't specify this option ( and why windows chkdsk will report the errors).

lgrootnoob commented 8 years ago

What about on android. we have auto detection of sdcards. will it be okay to put this flag in the fstab and have the other filesystems ignore it? like if ext4 sdcard was inserted it would just ignore the non existent flag and still mount?

dorimanx commented 8 years ago

fixed. https://github.com/dorimanx/exfat-nofuse/commit/593e1cef6219a932b281ee486fa68b252182c1f8

exfat should not be casesensitive. it's win partition.