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
(-version number)
(updated to 5.0; 404s fixed)
 
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 [https://sourceforge.net/projects/reiser4/files/ 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.
  
Download the latest [https://sourceforge.net/projects/reiser4/ Reiser4] kernel patch and patch the kernel:
+
Download the latest Reiser4 kernel patch and patch the kernel:
  
  wget https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-4.x/reiser4-for-4.7.0.patch.gz
+
  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
 
  cd /usr/local/src/linux-git
  git checkout -b local-4.7 v4.7
+
  git checkout -b reiser-5 v5.0
  gzip -dc ~/reiser4-for-4.7.0.patch.gz | patch -p1
+
  gzip -dc ~/reiser4-for-5.0.0.patch.gz | patch -p1
  
Replace <tt>fs/reiser4</tt> with the standalone version:
+
Replace <code>fs/reiser4</code> with the [https://github.com/edward6/reiser4 standalone version]:
  
 
  rm -r fs/reiser4
 
  rm -r fs/reiser4
 
  cd ../
 
  cd ../
 
   
 
   
  git clone https://github.com/edward6/reiser4 reiser4-git
+
  git clone <nowiki>https://github.com/</nowiki>edward6/reiser4 reiser4-git
 
  cd reiser4-git/
 
  cd reiser4-git/
 
  git archive --format=tar --prefix=reiser4<font color="red">/</font> HEAD | tar -C ../linux-git/fs/ -xvf -
 
  git archive --format=tar --prefix=reiser4<font color="red">/</font> HEAD | tar -C ../linux-git/fs/ -xvf -
Line 31: Line 31:
  
 
  cd ../linux-git/
 
  cd ../linux-git/
  > enable CONFIG_BLOCK
+
  make menuconfig
> enable CONFIG_REISER4_FS
+
  > enable CONFIG_BLOCK
 +
  > enable CONFIG_REISER4_FS
 +
make ...
  
 
= Distribution packages =
 
= Distribution packages =
Line 39: Line 41:
 
openSUSE is building reiser4 packages too:
 
openSUSE is building reiser4 packages too:
  
* [https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl reiser4] (doiggl)
+
* [https://build.opensuse.org/package/show/home:doiggl/kernel-reiser4 kernel-reiser4] (doiggl)
* [https://build.opensuse.org/package/show?package=reiser4-kmp&project=drivers%3Afilesystems reiser4-kmp] (Jeff Mahoney)
+
* [https://build.opensuse.org/package/show/home:doiggl/reiser4-kmp reiser4-kmp] (doiggl)
 
+
* [https://build.opensuse.org/package/show/filesystems/reiser4progs reiser4progs]
Please see [https://build.opensuse.org/project/show?project=drivers:filesystems drivers:filesystems] for more external file system modules.
+
  
 
[[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