Reiser4

From CBLFS
Revision as of 13:16, 19 June 2007 by Xep (talk | contribs)
Jump to navigationJump to search
Download Source:
ftp://ftp.namesys.com/pub/reiser4progs/reiser4progs-1.0.7.tar.gz
Download Required Library:
ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz
Download Kernel Patch:
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.18/reiser4-for-2.6.18-3.patch.gz
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.19/reiser4-for-2.6.19-4.patch.gz
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.20/reiser4-for-2.6.20.patch.gz
ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.21/reiser4-for-2.6.21.patch.gz

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: http://www.namesys.com/

  • libaal - library, that provides application abstraction mechanism. It includes device abstraction, libc independence code, etc.
  • kernel patch - stable kernel patch, that provides kernel level support of Reiser4fs (version 4 only) partitions.

Dependencies

Required

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

Optional

  • grub >= 0.97-reiser4-20050808

Non-Multilib, Multilib

  • Compile your kernel with reiser4-for-2.6.<x>-patch

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

Compile kernel with reiser4 support turned on.

there are "<x>" is your kernel minor version from the list of patches above

Caution.png

Note

please make sure

that you have checked in

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

and NOT checked in

   Kernel hacking ---> Use 4Kb for kernel stacks instead of 8Kb


  • Boot with new kernel with reiser4 support turned on.

Non-Multilib

  • Compile the libaal:
./configure --prefix=/usr --libdir=/lib &&
make

Install the libaal

make install


  • Compile the package:
./configure --prefix=/usr --sbindir=/sbin --libdir=/lib &&
make


Install the package

make install



Multilib

Soon

32Bit

  • Compile the libaal:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib &&
make

Install the libaal

make install


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

Install the package

make install

N32

  • Compile the libaal:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 &&
make

Install the libaal

make install


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

Install the package

make install

64Bit

  • Compile the libaal:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 &&
make

Install the 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

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.).