Enhancing Debian Bookworm backports GNU Parted utilities with reiser4 detection/probe hack.
Although currently there is no reiser4 patch for the 6.x.y Linux kernel, I was prodded to use Debian Bookworm GCC12 compiler to generate a 5.17.12-3 reiser4 -enhanced kernel and, of course, downgrade the default kernel for Debian Bookworm backports, accordingly.
I also needed GNU Parted to recognize my former and ensuing reiser4 file system partitions in this aggregate ~ three(3) terabytes mixed dual hard disk storage medium.
The default tlilxochitl, i.e., vanilla, GNU Parted detection and/or probing utilities are stunted by design -- a likely reflection of its maintainer at Red Hat -- since they fail miserably at reiser4 file system detection -- as seen in the ensuing snapshot:
Evidently, I needed to enhance GNU Parted with reiser4 and, thus, generated the following DEBs:
libparted2_3.5-3.1_amd64.deb
libparted2_3.5-3.1_amd64.deb.SHA256SUM
parted_3.5-3.1_amd64.deb
parted_3.5-3.1_amd64.deb.SHA256SUM
libparted-dev_3.5-3.1_amd64.deb
libparted-dev_3.5-3.1_amd64.deb.SHA256SUM
libparted-fs-resize0_3.5-3.1_amd64.deb
libparted-fs-resize0_3.5-3.1_amd64.deb.SHA256SUM
libparted-i18n_3.5-3.1_all.deb
libparted-i18n_3.5-3.1_all.deb.SHA256SUM
parted-doc_3.5-3.1_all.deb
parted-doc_3.5-3.1_all.deb.SHA256SUM
Subsequently, acquiring root privilege -- with sudo or as root -- I installed the bare minimum DEB packages to enhance the Bookworm user environment experience:
i.e., specifically, at the shell prompt:
Shell
dpkg -i parted_3.5-3.1_amd64.deb libparted2_3.5-3.1_amd64.deb |
The magic was instantaneous as reiser4 -enhanced GNU Parted detected the existing reiser4 file systems in my system:
For a non-Debian-packaged GNU Parted enahanced with reiser4 (SFRN) 4.0.2, the GitHub testing repository https://github.com/Metztli/gnu-parted-reiser4 can be cloned -- and built (but sudo or root privilege is needed for the last incantation) -- as:
Shell
git clone https://github.com/Metztli/gnu-parted-reiser4.git | |
cd gnu-parted-reiser4 | |
./bootstrap | |
./configure | |
make | |
make install |
(Please type ./configure --help after ./bootstrap successfully completes -- as you may need to pass your preferred arguments to that ./configure directive).
Additionally, please note that you will need Autoconf-2.71 or greater as your ./bootstrap invocation will end in error if that requirement is not met. For instance, I was working in a Metztli Reiser4 / Debian Bullseye backports for AMD64 instance and I had to generate relevant Autoconf as the existing one is too old:
autoconf_2.71-4_all.deb
autoconf_2.71-4_all.deb.SHA256SUM
autoconf-doc_2.71-4_all.deb
autoconf-doc_2.71-4_all.deb.SHA256SUM
WARNING: Zan niNemilia : «Просто мое Воображение» : "Just my Imagination" ~ The Temptations
DISCLAIMER although due diligence has been applied, this resource is made available for testing/evaluation purposes on an AS IS basis. The procedure only reflects my own modifications, my limited testing, and the potential user(s) who execute(s) the procedures assumes all risks.
Please do not hold me or Metztli Information Technology (and/or its associates) responsible if the information provided here does not achieve the desired result. The information is provided AS IS and with the hope that it may be useful to the Internet community --especially non-hypocrites, open-minded individuals interested in Reiser4 continued development.
Notwithstanding, There is no implicit or explicit guarantee that the information presented here is accurate --even though due diligence was exercised during the procedure. Accordingly, if an user(s) decide to implement the procedure or shell commands described here she, he, or them, do so at her, his, or their own risk. You have been forewarned.
Metztli IT, but not other entities, reserves the right to modify the content -- to correct and/or elucidated procedure(s), for instance -- and/or even delete all or partial, including blog post, without previous notice.