Most of the documentation is 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 development appears to have stalled and ReiserFS is deprecated and scheduled to be removed from mainline Linux in 2025.

Reiser4 patchsets

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
(link removed)
(404)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
 
'''Please help with [[Reiser4_Howto|testing Reiser4]] and [[mailinglists|report]] any issues to the mailinglist!'''
 
'''Please help with [[Reiser4_Howto|testing Reiser4]] and [[mailinglists|report]] any issues to the mailinglist!'''
  
 +
= Stable patchsets =
  
== 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.
  
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.
+
= Standalone <code>reiser4</code> tree =
  
 +
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.
  
== Development patchsets ==
+
Download the latest Reiser4 kernel patch and patch the kernel:
  
Andrew Morton is maintaining the [http://git.zen-kernel.org/mmotm/ MMOTM] tree ([http://www.kernel.org/patchtypes/mm.html 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 ;-))
+
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
  
== Distribution packages ==
+
Replace <code>fs/reiser4</code> with the [https://github.com/edward6/reiser4 standalone version]:
  
=== openSUSE ===
+
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 -
  
openSUSE is building [https://build.opensuse.org/package/show?project=drivers:filesystems&package=reiser4-kmp build reiser4 packages] too:
+
Be sure to adjust the directories as necessary on your system!
  
* [http://download.opensuse.org/repositories/drivers://filesystems/openSUSE_11.1/ openSUSE 11.1] (Jeff Mahoney)
+
With that, we should be able to build the kernel now:
* [http://download.opensuse.org/repositories/drivers://filesystems/openSUSE_11.2/ openSUSE 11.2] (Jeff Mahoney)
+
* [http://download.opensuse.org/repositories/home:/doiggl/openSUSE_11.3/ openSUSE 11.3] (doiggl)
+
* Reiser4 for [http://download.opensuse.org/repositories/drivers://filesystems/openSUSE_Factory/ openSUSE Factory] (Jeff Mahoney)
+
  
Please see [https://build.opensuse.org/project/show?project=drivers:filesystems drivers:filesystems] for more external file system modules.
+
cd ../linux-git/
 +
make menuconfig
 +
  > enable CONFIG_BLOCK
 +
  > enable CONFIG_REISER4_FS
 +
make ...
  
=== Fedora ===
+
= Distribution packages =
 +
== openSUSE ==
  
Fedora is hosting a few reiser4 packages too:
+
openSUSE is building reiser4 packages too:
  
* [http://viji.fedorapeople.org/reiser4/F13/x86_64/ Fedora 13] (Viji V Nair)
+
* [https://build.opensuse.org/package/show/filesystems/reiser4progs reiser4progs]
 +
* <s>[https://build.opensuse.org/package/show/home:doiggl/kernel-reiser4 kernel-reiser4] (doiggl)</s>
 +
* <s>[https://build.opensuse.org/package/show/home:doiggl/reiser4-kmp reiser4-kmp] (doiggl)</s>
  
 
[[category:Reiser4]]
 
[[category:Reiser4]]

Latest revision as of 23:16, 6 May 2024

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