Welcome to the Reiser4 Wiki, the Wiki for users and developers of the ReiserFS and Reiser4 filesystems.

For now, most of the documentation is just a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Reiser4 patchsets

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
m (warning added)
(updated to 5.0; 404s fixed)
 
(18 intermediate revisions by one user not shown)
Line 1: Line 1:
== stable patchsets ==
+
'''Please help with [[Reiser4_Howto|testing Reiser4]] and [[mailinglists|report]] any issues to the mailinglist!'''
  
As <tt>reiser4</tt> is still not in [http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=summary mainline], Edward Shishkin is kind enough to provide [http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/?C=M;O=D patches] for the stable version of the Linux kernel.
+
= Stable patchsets =
  
 +
As <code>reiser4</code> is still not in [https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git mainline], Edward Shishkin is kind enough to provide [https://sourceforge.net/projects/reiser4/files/ patches] for the stable version of the Linux kernel.
  
== development patchsets ==
+
= Standalone <code>reiser4</code> tree =
  
Andrew Morton is maintaining the [http://git.zen-sources.org/?p=mmotm.git;a=summary MMOTM] tree (mm-of-the-moment) that includes [[Reiser4]] as well. Snapshot patches from that tree can be found on [http://userweb.kernel.org/~akpm/mmotm/ kernel.org]. Be aware that this tree in high flux and often filled with exotic stuff (yes, more exotic than reiser4 ;-))
+
According to [http://www.spinics.net/lists/reiserfs-devel/msg05173.html Reiser4 Upstream Git Repositories on GitHub], this is how the the standalone tree can be used.
  
 +
Download the latest Reiser4 kernel patch and patch the kernel:
  
'''After [[Reiser4_Howto|applying the patches]] please test and [[mailinglists|report]] any issues!'''
+
wget <nowiki>https://sourceforge.net/</nowiki>projects/reiser4/files/reiser4-for-linux-5.x/reiser4-for-5.0.0.patch.gz
 +
 +
cd /usr/local/src/linux-git
 +
git checkout -b reiser-5 v5.0
 +
gzip -dc ~/reiser4-for-5.0.0.patch.gz | patch -p1
  
 +
Replace <code>fs/reiser4</code> with the [https://github.com/edward6/reiser4 standalone version]:
 +
 +
rm -r fs/reiser4
 +
cd ../
 +
 +
git clone <nowiki>https://github.com/</nowiki>edward6/reiser4 reiser4-git
 +
cd reiser4-git/
 +
git archive --format=tar --prefix=reiser4<font color="red">/</font> HEAD | tar -C ../linux-git/fs/ -xvf -
 +
 +
Be sure to adjust the directories as necessary on your system!
 +
 +
With that, we should be able to build the kernel now:
 +
 +
cd ../linux-git/
 +
make menuconfig
 +
  > enable CONFIG_BLOCK
 +
  > enable CONFIG_REISER4_FS
 +
make ...
 +
 +
= Distribution packages =
 +
== openSUSE ==
 +
 +
openSUSE is building reiser4 packages too:
 +
 +
* [https://build.opensuse.org/package/show/home:doiggl/kernel-reiser4 kernel-reiser4] (doiggl)
 +
* [https://build.opensuse.org/package/show/home:doiggl/reiser4-kmp reiser4-kmp] (doiggl)
 +
* [https://build.opensuse.org/package/show/filesystems/reiser4progs reiser4progs]
  
 
[[category:Reiser4]]
 
[[category:Reiser4]]

Latest revision as of 08:52, 16 April 2019

Please help with testing Reiser4 and report any issues to the mailinglist!

Contents

[edit] Stable patchsets

As reiser4 is still not in mainline, Edward Shishkin is kind enough to provide patches for the stable version of the Linux kernel.

[edit] Standalone reiser4 tree

According to Reiser4 Upstream Git Repositories on GitHub, this is how the the standalone tree can be used.

Download the latest Reiser4 kernel patch and patch the kernel:

wget https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-5.x/reiser4-for-5.0.0.patch.gz

cd /usr/local/src/linux-git
git checkout -b reiser-5 v5.0
gzip -dc ~/reiser4-for-5.0.0.patch.gz | patch -p1

Replace fs/reiser4 with the standalone version:

rm -r fs/reiser4
cd ../

git clone https://github.com/edward6/reiser4 reiser4-git
cd reiser4-git/
git archive --format=tar --prefix=reiser4/ HEAD | tar -C ../linux-git/fs/ -xvf -

Be sure to adjust the directories as necessary on your system!

With that, we should be able to build the kernel now:

cd ../linux-git/
make menuconfig
 > enable CONFIG_BLOCK
 > enable CONFIG_REISER4_FS
make ...

[edit] Distribution packages

[edit] openSUSE

openSUSE is building reiser4 packages too:

Personal tools