A minimum complete tutorial of Linux ext4 file system (2017)
metebalci.com
metebalci.com
https://buredoranna.github.io/linux/ext4/2020/01/09/ext4-viz...
It would be good to see example animated GIFs of current Windows-11-formatted FAT32 and NTFS volumes on the same-sized partitions.
Maybe even comparison to recent but unsupported OS like Windows 10 version from 2015, Windows 8, or Windows 7.
And see how closely the current or former mkfs in Linux compares when it is employed to create FAT32 or NTFS volumes on the same size partitions.
As for _visualizing_ the audio as video, no, that was never possible w/o writing code. =) And to do it _well_, you need to do some math as well. I say this because I wrote that code in 2001, 2003, then again in 2008, then again later... it's a ... hobby of mine :)
Linux never had a good one to my knowledge. Improved filesystems reduced the need and then SSDs delivered the deathblow.
But I feel like the visualization was useful in itself to see what was happening on the storage device and unfortunately forgotten due to those improvements.
Even Windows XP had a graphical representation of the disk contents, and it animated during defrag.
For ext4, I recently saw a patch set on the mailing list[4].
Not sure about other filesystems tough.
[1] https://manpages.debian.org/unstable/squashfs-tools-ng/tar2s...
[2] https://manpages.debian.org/unstable/squashfs-tools-ng/sqfs2...
[3] https://manpages.debian.org/unstable/squashfs-tools/sqfstar....
[4] https://lore.kernel.org/linux-ext4/20230812150204.462962-2-j...
Unfortunately, mkfs.ext4 only works on Linux. There is no port for other operating systems.
[0] https://github.com/cedws/concrete-ubuntu/blob/0ae3f076c5a20d...
$ 7z l <image>
$ 7z x <image>
On Alpine Linux:
```
apk add --no-cache coreutils e2fsprogs
```
```
#!/bin/sh
# Untar the tar file
mkdir -p /tmp/my_untarred_files_dir
tar -xvf my_tar_file.tar -C /tmp/my_untarred_files_dir
# Make an empty image file.
dd if=/dev/zero of="fs.raw" bs=1M count=1024
# Format the file as ext4 (with journaling) and copy untarred files into it
mke2fs -t ext4 -j -d "/tmp/my_untarred_files_dir" "fs.raw"
```
If you want to make a qcow2 image, you can then do this:
```
apk add --no-cache qemu-img
qemu-img convert -O qcow2 "fs.raw" "fs.qcow2"
```