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
(url cleanup)
(Fedora no longer carries reiser4 packages :-\)
(5 intermediate revisions by one user not shown)
Line 3: Line 3:
 
= Stable patchsets =
 
= Stable patchsets =
  
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://sourceforge.net/projects/reiser4/ patches] for the stable version of the Linux kernel.
+
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.
  
= Development patchsets =
+
= Standalone <tt>reiser4</tt> tree =
  
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 ;-))
+
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:
 +
 
 +
wget https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-4.x/reiser4-for-4.7.0.patch.gz
 +
 +
cd /usr/local/src/linux-git
 +
git checkout -b local-4.7 v4.7
 +
gzip -dc ~/reiser4-for-4.7.0.patch.gz | patch -p1
 +
 
 +
Replace <tt>fs/reiser4</tt> 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<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/
 +
> enable CONFIG_BLOCK
 +
> enable CONFIG_REISER4_FS
  
 
= Distribution packages =
 
= Distribution packages =
Line 18: Line 43:
  
 
Please see [https://build.opensuse.org/project/show?project=drivers:filesystems drivers:filesystems] for more external file system modules.
 
Please see [https://build.opensuse.org/project/show?project=drivers:filesystems drivers:filesystems] for more external file system modules.
 
== Fedora ==
 
 
Fedora is hosting a few reiser4 packages too:
 
 
* <s>[http://viji.fedorapeople.org/reiser4/F13/x86_64/ Fedora 13] (Viji V Nair)</s>
 
  
 
[[category:Reiser4]]
 
[[category:Reiser4]]

Revision as of 22:29, 24 September 2016

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

Contents

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.

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-4.x/reiser4-for-4.7.0.patch.gz

cd /usr/local/src/linux-git
git checkout -b local-4.7 v4.7
gzip -dc ~/reiser4-for-4.7.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/
> enable CONFIG_BLOCK
> enable CONFIG_REISER4_FS

Distribution packages

openSUSE

openSUSE is building reiser4 packages too:

Please see drivers:filesystems for more external file system modules.

Personal tools