Difference between revisions of "Reiser4"
Weibullguy (talk | contribs) (Formatting) |
|||
Line 23: | Line 23: | ||
{{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 [http://www.namesys.com/ Namesys]. The Reiser4 package contains various utilities for managing reiser4fs (version 4) partitions.|http://www.namesys.com/}} | ||
− | |||
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
Line 36: | Line 33: | ||
* grub >= 0.97-reiser4-20050808 | * 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 | + | gunzip -c reiser4-for-2.6.<x>.patch.gz | patch -p1 |
− | + | {{Note|When configuring the kernel, please make sure that you do NOT select: | |
+ | Kernel hacking ---> Use 4Kb for kernel stacks instead of 8Kb | ||
+ | }} | ||
+ | Configure the kernel and <b>DO</b> 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 == | + | === Non-Multilib === |
− | + | Compile libaal: | |
./configure --prefix=/usr --libdir=/lib && | ./configure --prefix=/usr --libdir=/lib && | ||
make | make | ||
− | Install | + | Install libaal |
make install | make install | ||
− | + | 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 74: | ||
make install | make install | ||
+ | === Multilib === | ||
+ | ==== 32Bit ==== | ||
− | + | Compile libaal: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib && | CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib && | ||
make | make | ||
− | Install | + | Install libaal |
make install | make install | ||
− | + | 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 96: | ||
make install | make install | ||
− | === N32 === | + | ==== N32 ==== |
− | + | Compile libaal: | |
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32 && | ||
make | make | ||
− | Install | + | Install libaal |
make install | make install | ||
− | + | 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 116: | ||
make install | make install | ||
− | === 64Bit === | + | ==== 64Bit ==== |
− | + | Compile libaal: | |
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 && | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64 && | ||
make | make | ||
− | Install | + | Install libaal |
make install | make install | ||
− | + | 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 136: | ||
make install | make install | ||
− | = Contents = | + | == Contents == |
{| style="text-align: left;" | {| style="text-align: left;" | ||
Line 170: | Line 154: | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
|-valign="top" | |-valign="top" | ||
− | ! debugfs.reiser4 | + | !libaal |
− | | can sometimes help to solve problems with Reiser4 file systems. | + | |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 | + | !mkfs.reiser4, make_reiser4 |
− | | creates a Reiser4 file system. | + | |creates a Reiser4 file system. |
|- | |- | ||
− | ! fsck.reiser4 | + | !fsck.reiser4 |
− | | is used to check or repair a Reiser4 file system. | + | |is used to check or repair a Reiser4 file system. |
|- | |- | ||
− | ! measurefs.reiser4 | + | !measurefs.reiser4 |
− | | the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.). | + | |the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.). |
|} | |} |
Revision as of 09:11, 20 June 2007
Contents
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/
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
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.). |