Difference between revisions of "Reiser4"

From CBLFS
Jump to navigationJump to search
m
m
 
(11 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
|-valign="top"
 
|-valign="top"
| ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-{{Reiser4-Version}}.tar.gz
+
| http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-{{Reiser4-Version}}.tar.bz2
 
|-valign="top"
 
|-valign="top"
 
!Download Required Library:
 
!Download Required Library:
 
|-valign="top"
 
|-valign="top"
| ftp://ftp.namesys.com/pub/reiser4progs/libaal-{{libaal-Version}}.tar.gz
+
| http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/libaal-{{libaal-Version}}.tar.bz2
 
|-valign="top"
 
|-valign="top"
 
!Download Kernel Patch:
 
!Download Kernel Patch:
 
|-valign="top"
 
|-valign="top"
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.18/reiser4-for-2.6.18-3.patch.gz
+
| http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.25.patch.bz2
|-valign="top"
+
|-
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.19/reiser4-for-2.6.19-4.patch.gz
+
| http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.27.patch.bz2
|-valign="top"
+
|-
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.20/reiser4-for-2.6.20.patch.gz
+
| http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.28.patch.bz2
|-valign="top"
+
|-
| ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.21/reiser4-for-2.6.21.patch.gz
+
| http://svn.cross-lfs.org/svn/repos/patches/linux-2.6.28.7/linux-2.6.28.7-reiser4-grab_cache_page-1.patch
 +
|-
 +
| http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.29.patch.bz2
 
|}
 
|}
  
 
----
 
----
  
{{Package-Introduction|The Reiser4 file system is a very fast atomic file system developed by [http://www.namesys.com/ Namesys]. The Reiser4 package contains various utilities for managing reiser4fs (version 4) partitions.|http://www.namesys.com/}}
+
{{Package-Introduction|The Reiser4 file system is a very fast atomic file system developed by Namesys. The Reiser4 package contains various utilities for managing reiser4fs (version 4) partitions.|}}
  
* libaal - library, that provides application abstraction mechanism. It includes device abstraction, libc independence code, etc.
+
{{Note|The official Namesys site is closed. Destiny of the Reiser4 project is unknown. Support of Reiser4fs is included in the Edward's kernel patchsets.}}
* kernel patch - stable kernel patch, that provides kernel level support of Reiser4fs (version 4 only) partitions.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 36: Line 37:
 
* grub >= 0.97-reiser4-20050808
 
* grub >= 0.97-reiser4-20050808
  
== Non-Multilib, Multilib ==
+
== Building Reiser4 Enabled Kernel ==
  
* Compile your kernel with reiser4-for-2.6.<x>-patch
+
Patch your kernel with the appropriate reiser4-for-2.6.<x>-patch, where <x> is your kernel minor version from the list of patches above.
  
gunzip -c reiser4-for-2.6.<x>.patch.gz | patch -p1  
+
gunzip -c reiser4-for-2.6.<x>.patch.gz | patch -p1
  
Compile kernel with reiser4 support turned on.
+
Patch your kernel with patch if you kernel version is a 2.6.28.<z>
  
there are "<x>" is your kernel minor version from the list of patches above
+
patch -Np1 -i linux-2.6.28.7-reiser4-grab_cache_page-1.patch
  
{{Note|please make sure
+
{{Note|When configuring the kernel, please make sure that you do NOT select (removed in recent kernels):
that you have '''checked''' in  
+
Kernel hacking ---> Use 4Kb for kernel stacks instead of 8Kb
 +
}}
  
    Code maturity level options 
+
Configure the kernel and <b>DO</b> select the following option:
    ---> Prompt for development and/or incomplete code/drivers
 
  
and '''NOT checked''' in
+
    Code maturity level options ---> Prompt for development and/or incomplete code/drivers
  
    Kernel hacking ---> Use 4Kb for kernel stacks instead of 8Kb
+
Compile the kernel:
  
}}
+
make
  
 +
Boot with new, Reiser4 enabled kernel before continuing.
  
* '''Boot with new kernel with reiser4 support turned on.'''
+
== Building Reiser4 Package ==
  
== Non-Multilib ==
+
=== Non-Multilib ===
  
* Compile the libaal:
+
Compile libaal:
  
 
  ./configure --prefix=/usr --libdir=/lib &&
 
  ./configure --prefix=/usr --libdir=/lib &&
 
  make
 
  make
  
Install the libaal
+
Install libaal
  
 
  make install
 
  make install
  
 
+
Compile the package:
* Compile the package:
 
  
 
  ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
 
  ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
 
  make
 
  make
 
  
 
Install the package
 
Install the package
Line 83: Line 83:
 
  make install
 
  make install
  
 +
=== Multilib ===
  
 +
==== 32Bit ====
  
 
+
Compile libaal:
== Multilib ==
 
'''''Soon'''''
 
 
 
=== 32Bit ===
 
 
 
* Compile the libaal:
 
  
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib &&
 
  make
 
  make
  
Install the libaal
+
Install libaal
  
 
  make install
 
  make install
  
 
+
Compile the package:
* Compile the package:
 
  
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
Line 110: Line 105:
 
  make install
 
  make install
  
=== N32 ===
+
==== N32 ====
  
* Compile the libaal:
+
Compile libaal:
  
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 &&
 
  make
 
  make
  
Install the libaal
+
Install libaal
  
 
  make install
 
  make install
  
 
+
Compile the package:
*Compile the package:
 
  
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib32 &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib32 &&
Line 131: Line 125:
 
  make install
 
  make install
  
=== 64Bit ===
+
==== 64Bit ====
  
* Compile the libaal:
+
Compile libaal:
  
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 &&
 
  make
 
  make
  
Install the libaal
+
Install libaal
  
 
  make install
 
  make install
  
 
+
Compile the package:
* Compile the package:
 
  
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib64 &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib64 &&
Line 152: Line 145:
 
  make install
 
  make install
  
= Contents =
+
== Contents ==
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-
 
|-
 
! Installed Programs:
 
! Installed Programs:
| debugreiser4, mkreiser4, reiser4fsck, reiser4tune, resize_reiser4
+
| mkfs.reiser4, make_reiser4, debugfs.reiser4, measurefs.reiser4, fsck.reiser4
 
|-
 
|-
 
! Installed Libraries:
 
! Installed Libraries:
| libaal.{a,so}, libaal-minimal.{a,so}, lireiser4.{a,so}, lireiser4-minimal.{a,so}
+
| libaal.{a,so}, libaal-minimal.{a,so}, libreiser4.{a,so}, libreiser4-minimal.{a,so}, librepair.{a,so}
 
|-
 
|-
 
! Installed Directories:
 
! Installed Directories:
| Soon
+
| /usr/include/aal, /usr/include/reiser4, /usr/include/repair
 
|}
 
|}
  
Line 170: Line 163:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! debugreiser4
+
!libaal
| can sometimes help to solve problems with Reiser4 file systems. If it is called without options, it prints the super block of any Reiser4 file system found on the device.  
+
|library that provides application abstraction mechanism. It includes device abstraction, libc independence code, etc.
 
|-
 
|-
! mkreiser4
+
!debugfs.reiser4
| creates a Reiser4 file system.  
+
|can sometimes help to solve problems with Reiser4 file systems.  
 
|-
 
|-
! reiser4fsck
+
!mkfs.reiser4, make_reiser4
| is used to check or repair a Reiser4 file system.  
+
|creates a Reiser4 file system.  
 
|-
 
|-
! reiser4tune
+
!fsck.reiser4
| is used for tuning the Reiser4 journal.  
+
|is used to check or repair a Reiser4 file system.  
 
|-
 
|-
! resize_reiser4
+
!measurefs.reiser4
| is used to resize an unmounted Reiser4 file system.
+
|the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.).  
 
|}
 
|}
 +
 +
[[Category:File System]]

Latest revision as of 17:31, 29 March 2009

Download Source:
http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/reiser4progs-1.0.7.tar.bz2
Download Required Library:
http://www.kernel.org/pub/linux/utils/fs/reiser4/libaal/libaal-1.0.5.tar.bz2
Download Kernel Patch:
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.25.patch.bz2
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.27.patch.bz2
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.28.patch.bz2
http://svn.cross-lfs.org/svn/repos/patches/linux-2.6.28.7/linux-2.6.28.7-reiser4-grab_cache_page-1.patch
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.29.patch.bz2

Introduction to Reiser4

The Reiser4 file system is a very fast atomic file system developed by Namesys. The Reiser4 package contains various utilities for managing reiser4fs (version 4) partitions.

Project Homepage:

Caution.png

Note

The official Namesys site is closed. Destiny of the Reiser4 project is unknown. Support of Reiser4fs is included in the Edward's kernel patchsets.

Dependencies

Required

  • libaal >= 1.0.5
  • kernel patch for your kernel version

Optional

  • grub >= 0.97-reiser4-20050808

Building Reiser4 Enabled Kernel

Patch your kernel with the appropriate reiser4-for-2.6.<x>-patch, where <x> is your kernel minor version from the list of patches above.

gunzip -c reiser4-for-2.6.<x>.patch.gz | patch -p1

Patch your kernel with patch if you kernel version is a 2.6.28.<z>

patch -Np1 -i linux-2.6.28.7-reiser4-grab_cache_page-1.patch
Caution.png

Note

When configuring the kernel, please make sure that you do NOT select (removed in recent kernels):
Kernel hacking ---> Use 4Kb for kernel stacks instead of 8Kb

Configure the kernel and DO select the following option:

   Code maturity level options ---> Prompt for development and/or incomplete code/drivers

Compile the kernel:

make

Boot with new, Reiser4 enabled kernel before continuing.

Building Reiser4 Package

Non-Multilib

Compile libaal:

./configure --prefix=/usr --libdir=/lib &&
make

Install libaal

make install

Compile the package:

./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
make

Install the package

make install

Multilib

32Bit

Compile libaal:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib &&
make

Install libaal

make install

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
make

Install the package

make install

N32

Compile libaal:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 &&
make

Install libaal

make install

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib32 &&
make

Install the package

make install

64Bit

Compile libaal:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 &&
make

Install libaal

make install

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin --libdir=/lib64 &&
make

Install the package

make install

Contents

Installed Programs: mkfs.reiser4, make_reiser4, debugfs.reiser4, measurefs.reiser4, fsck.reiser4
Installed Libraries: libaal.{a,so}, libaal-minimal.{a,so}, libreiser4.{a,so}, libreiser4-minimal.{a,so}, librepair.{a,so}
Installed Directories: /usr/include/aal, /usr/include/reiser4, /usr/include/repair

Short Descriptions

libaal library that provides application abstraction mechanism. It includes device abstraction, libc independence code, etc.
debugfs.reiser4 can sometimes help to solve problems with Reiser4 file systems.
mkfs.reiser4, make_reiser4 creates a Reiser4 file system.
fsck.reiser4 is used to check or repair a Reiser4 file system.
measurefs.reiser4 the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.).
Retrieved from "?title=Reiser4&oldid=17953"