Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2024 11:40:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280347] truncate(2) test program corrupts msdos file system
Message-ID:  <bug-280347-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280347

            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=3D252141&action=
=3Dedit
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=20=20=20=20
pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO amd64
root@mercat1:/usr/src/tools/test/stress2/misc #

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280347-227>