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
(Standalone reiser4 tree)
(updated to 5.0; 404s fixed)
 
(4 intermediate revisions by one user not shown)
Line 3: Line 3:
 
= Stable patchsets =
 
= Stable patchsets =
  
As <tt>reiser4</tt> is still not in [https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git mainline], Edward Shishkin is kind enough to provide [http://sourceforge.net/projects/reiser4/files/reiser4-for-linux-3.x/ patches] for the stable version of the Linux kernel.
+
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.
  
= Standalone <tt>reiser4</tt> tree =
+
= 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:
+
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.
  
  TBD
+
Download the latest Reiser4 kernel patch and patch the kernel:
 +
 
 +
  wget <nowiki>https://sourceforge.net/</nowiki>projects/reiser4/files/reiser4-for-linux-5.x/reiser4-for-5.0.0.patch.gz
 
   
 
   
  . Patch the respective kernel with the latest available stuff from
+
  cd /usr/local/src/linux-git
  Sourceforge;
+
  git checkout -b reiser-5 v5.0
  . cd to the "fs" directory;
+
  gzip -dc ~/reiser4-for-5.0.0.patch.gz | patch -p1
  . delete the directory reiser4;
+
. instead of the deleted stuff clone the standalone reiser4
+
  repository from Github;
+
. build and install as usual.
+
  
= Development patchsets =
+
Replace <code>fs/reiser4</code> with the [https://github.com/edward6/reiser4 standalone version]:
  
<s>Andrew Morton is maintaining the [https://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git mm-tree] that includes [[Reiser4]] as well. Be aware that this tree in high flux and often filled with exotic stuff (yes, more exotic than reiser4 ;-))</s>
+
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 -
  
= Distribution packages =
+
Be sure to adjust the directories as necessary on your system!
== openSUSE ==
+
  
openSUSE is building reiser4 packages too:
+
With that, we should be able to build the kernel now:
  
* [https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl reiser4] (doiggl)
+
cd ../linux-git/
* [https://build.opensuse.org/package/show?package=reiser4-kmp&project=drivers%3Afilesystems reiser4-kmp] (Jeff Mahoney)
+
make menuconfig
 +
  > enable CONFIG_BLOCK
 +
  > enable CONFIG_REISER4_FS
 +
make ...
  
Please see [https://build.opensuse.org/project/show?project=drivers:filesystems drivers:filesystems] for more external file system modules.
+
= Distribution packages =
 +
== openSUSE ==
  
== Fedora ==
+
openSUSE is building reiser4 packages too:
 
+
Fedora is hosting a few reiser4 packages too:
+
  
* <s>[http://viji.fedorapeople.org/reiser4/F13/x86_64/ Fedora 13] (Viji V Nair)</s>
+
* [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