[Bug 270632] [ext2fs] files <4096 bytes are corrupted on ext4 filesystems

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Apr 2023 18:17:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270632

--- Comment #13 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #12)

I replaced the media content with a 13.2-RELEASE image and
repeated the experiment with the script. The result was the
same failure (\0 bytes).

root@generic:~ # uname -apKU
FreeBSD generic 13.2-RELEASE FreeBSD 13.2-RELEASE
releng/13.2-n254617-525ecfdad597 GENERIC arm64 aarch64 1302001 1302001
root@generic:~ # ./writes_nulls_check.sh 
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:aarch64/quarterly,
please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.19.1_1...
Extracting pkg-1.19.1_1: 100%
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%    6 MiB   6.6MB/s    00:01    
Processing entries: 100%
FreeBSD repository update completed. 31741 packages processed.
All repositories are up to date.
Updating database digests format: 100%
The following 6 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        e2fsprogs: 1.47.0
        e2fsprogs-core: 1.47.0
        e2fsprogs-libblkid: 1.47.0
        e2fsprogs-libuuid: 1.47.0
        gettext-runtime: 0.21.1
        indexinfo: 0.3.1

Number of packages to be installed: 6

The process will require 8 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/6] Fetching indexinfo-0.3.1.pkg: 100%    5 KiB   5.5kB/s    00:01    
[2/6] Fetching e2fsprogs-core-1.47.0.pkg: 100%    1 MiB   1.2MB/s    00:01    
[3/6] Fetching e2fsprogs-libblkid-1.47.0.pkg: 100%   31 KiB  31.5kB/s    00:01  
[4/6] Fetching gettext-runtime-0.21.1.pkg: 100%  159 KiB 163.0kB/s    00:01    
[5/6] Fetching e2fsprogs-libuuid-1.47.0.pkg: 100%   33 KiB  33.7kB/s    00:01   
[6/6] Fetching e2fsprogs-1.47.0.pkg: 100%  294 KiB 301.0kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/6] Installing indexinfo-0.3.1...
[1/6] Extracting indexinfo-0.3.1: 100%
[2/6] Installing e2fsprogs-libuuid-1.47.0...
[2/6] Extracting e2fsprogs-libuuid-1.47.0: 100%
[3/6] Installing e2fsprogs-libblkid-1.47.0...
[3/6] Extracting e2fsprogs-libblkid-1.47.0: 100%
[4/6] Installing gettext-runtime-0.21.1...
[4/6] Extracting gettext-runtime-0.21.1: 100%
[5/6] Installing e2fsprogs-core-1.47.0...
[5/6] Extracting e2fsprogs-core-1.47.0: 100%
[6/6] Installing e2fsprogs-1.47.0...
[6/6] Extracting e2fsprogs-1.47.0: 100%
=====
Message from e2fsprogs-core-1.47.0:

--
Note: this is a modified version of the e2fsprogs package, not the official
package. Report all building and run-time trouble that originates in the
package to the port maintainer, mandree@FreeBSD.org.
mke2fs 1.47.0 (5-Feb-2023)
Creating filesystem with 131072 4k blocks and 32768 inodes
Filesystem UUID: 998ad939-1058-4b54-998b-1cbf34318363
Superblock backups stored on blocks: 
        32768, 98304

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

00000000  00 00 00 00 00 00 00 00  00 00 00 00              |............|
0000000c

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