PATCH for libguestfs: tools for accessing and modifying virtual machine disk images
From: Metztli Information Technology
Date: Tue Oct 22 2019 - 11:27:10 EST
Niltze all-
Enabled reiser4 in libguestfs 1.40.2 < http://libguestfs.org/ > since my Virtual Machines are formatted in reiser4.
Limited testing, though, as I only made sure I could peek into a VirtualBox VDI image, i.e.,
guestfish --ro -i -a metztli-reiser4.vdi
Given the fact that "man 2 statfs" did not provide a REISER4_SUPER_MAGIC 0x52345362 entry, (heck, entry is blacklisted in Debian, etc. *all* GNU / Linux's "man 2 statfs", /usr/include/linux/magic.h, coreutils' src/fs.h, libguestfs-1.40.2/gnulib/lib/fts.c, etc., WHY!?)
I created my own statfs(2) for reiser4 man page in html:
short link:
https://metztli.blog/index.php/amatl/aP3
long link:
https://metztli.blog/index.php/amatl/reiser-nahui/adding-reiser4_super_magic-to-man-2-statfs
It would be cool, though, if that reiser4 MAGIC string was included in
< https://www.kernel.org/doc/man-pages/ > (thanks in advance for your consideration)
The first patch applies against libguestfs 1.40.2 source; the second patch applies against Debian packaging for libguestfs 1.40.2 from
< https://packages.debian.org/bullseye/libguestfs-tools >
Best Professional Regards.
--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Download Metztli Reiser4: Debian Buster w/ Linux 5.2.17 AMD64
---------------------------------------------------------------------------------------------
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
-------------------------------------------------------------------------------------------
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/
Attachment:
metztli-libguestfs-1.40.2-for-reiser4.patch
Description: Binary data
Attachment:
metztli-libguestfs-1.40.2-reiser4-enabling-debian-packaging-for-libguestfs-1.40.2.patch
Description: Binary data