Comments (8)
Following #13 I also tried
lin:~ # exfatfsck /dev/loop0
exfatfsck 1.2.3
Checking file system on /dev/loop0.
File system version 1.0
Sector size 512 bytes
Cluster size 32 KB
Volume size 1023 MB
Used space 480 KB
Available space 1023 MB
Totally 1 directories and 3 files.
File system checking finished. No errors found.
lin:~ # mkdir /tmp/sd
lin:~ # mount.exfat-fuse /dev/loop0 /tmp/sd
FUSE exfat 1.2.3
lin:~ # echo hello > /tmp/sd/test
lin:~ # sync
lin:~ # umount /tmp/sd
lin:~ # exfatfsck /dev/loop0
exfatfsck 1.2.3
Checking file system on /dev/loop0.
File system version 1.0
Sector size 512 bytes
Cluster size 32 KB
Volume size 1023 MB
Used space 512 KB
Available space 1023 MB
Totally 1 directories and 4 files.
File system checking finished. No errors found.
lin:~ # mount.exfat-fuse /dev/loop0 /tmp/sd
FUSE exfat 1.2.3
lin:~ # cat /tmp/sd/test
hello
lin:~ # umount /tmp
But no file test
is found if I plug the device back into the Win 8.1 machine.
If I execute a file system check with Windows the file test
appears.
from exfat.
Thanks for the detailed report! I tried this test case on Windows 7 and it worked fine. Unfortunately I don't have Windows 8.1 nearby. Could you share a compressed image of the filesystem with testlin.txt
and testwin.txt
? I'd like to compare directory entries of those two files and figure out the difference between them.
from exfat.
Hm. Can't reproduce it anymore, when trying with fresh media/images. Tried several times with slightly different approaches, but always working as expected.
Right now my best guess is that somehow the medium in question has been corrupted before.
Sorry for the noise.
from exfat.
Right now my best guess is that somehow the medium in question has been corrupted before.
Sorry for the noise.
No problem. Please make a copy of the FS and reopen this issue if you experience this problem again.
from exfat.
I think I've reproduced this problem. Looks like Windows 8.1 caches the list of directory entries across reboots. If I unmount and mount the FS in Windows (via Disk Management Console) it shows the new file that has been added under GNU/Linux. Actually chkdsk
fixes this issue because it also unmounts and mounts (thus invalidating the cache); it makes no changes to the FS at all.
from exfat.
Windows 8 and later are known to actually do hibernation when you request a shutdown. This feature is known as Fast Boot and should be disabled on a dual-booting machine.
If exFAT has a "dirty" flag like NTFS, the driver could refuse to open such filesystems read-write in order to avoid problems with stale caches after resume from hibernate. ntfs-3g behaves like this.
from exfat.
Windows 8 and later are known to actually do hibernation when you request a shutdown. This feature is known as Fast Boot and should be disabled on a dual-booting machine.
Seems so, thanks for the explanation!
If exFAT has a "dirty" flag like NTFS, the driver could refuse to open such filesystems read-write in order to avoid problems with stale caches after resume from hibernate. ntfs-3g behaves like this.
exFAT has dirty flag. But unlike NTFS, exFAT is mostly used for external drives and users often unplug them without proper unmount. Enforcing people to repair FS is such case will cause much more complains, than the problem described in this issue. Also, it's not an option until there is a free tool to do this.
from exfat.
May be of help for someone.
I had the same issue with CentOS 7 and Windows 10, EXFAT FUSE version 1.2.7
I built exfat fuse from the source (version 1.3.0) and the issue gone.
PS thanks for the working driver ;)
from exfat.
Related Issues (20)
- [tools][feature request] Allow To Change Volume Serial Number ("ID")
- exfat 1.3 Transport endpoint is not connected HOT 10
- mount.exfat needs a man page on FreeBSD HOT 2
- High CPU usage with exfat HOT 3
- Context option is ignored HOT 1
- Do not treat "permission denied" as filesystem error HOT 1
- 3 years gone after last release (September 2018) ! HOT 3
- we meet "configure: error: Package requirements (fuse) were not met" on ubuntu16.04 about exfat HOT 4
- Security contact HOT 2
- concurrent reads of the same file are slow
- warning when autoreconf --install @ubuntu 22.04 LTS HOT 1
- Make error: [Makefile:445: mount_exfat_fuse-main.o] Error 1 HOT 8
- Information disclosure in fuse-exfat HOT 5
- mount fail HOT 2
- Fsck.exfat -y flag not working HOT 1
- How to create exfat partitions/drives on FreeBSD? HOT 1
- Sry, im stupid but how do install on Mac? HOT 1
- I execute command"brew install --HEAD exfat" got an error.This is the log HOT 2
- Please give homebrew support HOT 1
- ERROR: unknown entry type 0xff HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exfat.