[Bug 280347] truncate(2) test program corrupts msdos file system
Date: Thu, 18 Jul 2024 11:40:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280347 Bug ID: 280347 Summary: truncate(2) test program corrupts msdos file system Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pho@FreeBSD.org Created attachment 252141 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252141&action=edit Reproducer shell script root@mercat1:/usr/src/tools/test/stress2/misc # ./tr8.sh /mnt: Freeing unused sector 65535 31 0 /dev/md10: remounting read-only due to corruption /mnt: Freeing unused sector 65535 31 0 truncate8: read: Input/output error remounted /dev/md10 read-only truncate8: ftruncate: Bad file descriptor MSDOS exit status is 2 root@mercat1:/usr/src/tools/test/stress2/misc # uname -a FreeBSD mercat1.netperf.freebsd.org 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n271237-a4469a0d19b64-dirty: Thu Jul 18 09:55:05 CEST 2024 pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO amd64 root@mercat1:/usr/src/tools/test/stress2/misc # -- You are receiving this mail because: You are the assignee for the bug.