[Bug 199152] msdosfs writes on umount to readonly mounted fs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 7 22:17:54 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199152
longwitz at incore.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |longwitz at incore.de
--- Comment #4 from longwitz at incore.de ---
Your assertions from r281120 did not trigger. I found the flag FSIMOD is set in
usemap_free() called from fillinusemap(), which is called from mountmsdosfs()
but before the MSDOSFSMNT_RONLY flag is set. Thats the reason why your
assertion is missed. At the begin of the "for (cn = CLUST_FIRST .." loop in
fillinusemap() I see pm_flags=0x20000000 and pm_maxcluster=98305. After the
loop I have pm_flags=0x21000000 and usemap_free() was called 79356 times,
enough to set the FSIMOD bit.
The first install of my test maschine was Windows 7 mit UEFI, I boot FreeBSD 10
Stable with PXE, because my motherboard (Gigabyte hGA-A75M-UD2H) has the
problem described in PR/193646 and FreeBSD hangs on EFI boot. My test msdosfs
partition is the EFI partition installed by Windows 7 and is 100 MB in size.
For clarification the output of "gpart show":
=> 34 234441581 ada0 GPT (112G)
34 2014 - free - (1.0M)
2048 204800 1 efi (100M)
206848 262144 2 ms-reserved (128M)
468992 182771712 3 ms-basic-data (87G)
183240704 1024 4 freebsd-boot (512K)
183241728 2097152 5 freebsd-ufs (1.0G)
185338880 8388608 6 freebsd-swap (4.0G)
193727488 8388608 7 freebsd-ufs (4.0G)
202116096 16777216 8 freebsd-ufs (8.0G)
218893312 15548302 9 freebsd-ufs (7.4G)
234441614 1 - free - (512B)
If you need more information let me know.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list