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.

Reiserfsprogs

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
m (uuid-dev is needed too)
(updated to reiserfsprogs v3.6.25; missing dependencies added)
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
The tools to maintain a ReiserFS (Reiser v3) filesystem are called <tt>reiserfsprogs</tt> and can be found on [http://www.kernel.org/pub/linux/utils/fs/reiserfs/ kernel.org].
+
The tools to maintain a ReiserFS (Reiser v3) filesystem are called <tt>reiserfsprogs</tt> and should be shipped by most distributions. If it doesn't, we have to build it manually.
  
NOTE: [http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-3.6.21.tar.bz2 Reiserfsprogs-3.6.21] is the current version and considered ''stable''. This version contains changes made by Jeff Mahoney (everything got testing as a part of latest SuSE distros).
+
Install prerequisites:
  
If <tt>reiserfsprogs</tt> is not already part of your distribution (unlikely, it should be available), you have to build your own:
+
sudo apt-get install uuid-dev libacl1-dev comerr-dev                # Debian, Ubuntu
 +
sudo dnf install libuuid-devel libacl-devel libcom_err-devel        # Fedora
 +
sudo zypper install libuuid-devel libacl-devel libcom_err-devel      # openSUSE
  
<pre>
+
Get source:
  $ sudo apt-get install uuid-dev
+
 
  $ wget http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-3.6.21.tar.bz2
+
VER=<font color="red">3.6.25</font>
  $ wget http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-3.6.21.tar.bz2.sign
+
wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$VER/reiserfsprogs-$VER.tar.{sign,xz}
  $ gpg --verify reiserfsprogs-3.6.21.tar.bz2.sign reiserfsprogs-3.6.21.tar.bz2
+
xz -d reiserfsprogs-$VER.tar.xz
  gpg: Signature made Sat Jan 10 16:15:04 2009 CET using DSA key ID 517D0F0E
+
  gpg: Good signature from "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>"
+
gpg --recv-keys [http://pgp.mit.edu:11371/pks/lookup?search=0x2179E5B2 2179E5B2]
  $ tar -xjf reiserfsprogs-3.6.21.tar.bz2
+
gpg --verify reiserfsprogs-$VER.tar.sign
  $ cd reiserfsprogs-3.6.21
+
  $ ./configure --prefix=/opt/reiserfsprogs && make && sudo make install
+
tar -xf reiserfsprogs-$VER.tar && cd reiserfsprogs-$VER
</pre>
+
 
 +
Build & install:
 +
 
 +
./configure --prefix=/opt/reiserfsprogs && make                # Prefix with ''CFLAGS="$CFLAGS -std=gnu89"'' for [http://wiki.linuxfromscratch.org/blfs/changeset/16320#file4 GCC-5]
 +
sudo make install
 +
 
 +
Or, from the [https://git.kernel.org/cgit/linux/kernel/git/jeffm/reiserfsprogs.git/ Git tree]:
 +
 
 +
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeffm/reiserfsprogs.git reiserfsprogs-git
 +
cd reiserfsprogs-git
 +
libtoolize --copy --install --force && aclocal && autoheader && autoconf && automake --add-missing
 +
 +
./configure --prefix=/opt/reiserfsprogs && make
 +
sudo make install
  
 
[[category:ReiserFS]]
 
[[category:ReiserFS]]

Latest revision as of 18:46, 23 June 2016

The tools to maintain a ReiserFS (Reiser v3) filesystem are called reiserfsprogs and should be shipped by most distributions. If it doesn't, we have to build it manually.

Install prerequisites:

sudo apt-get install uuid-dev libacl1-dev comerr-dev                 # Debian, Ubuntu
sudo dnf install libuuid-devel libacl-devel libcom_err-devel         # Fedora
sudo zypper install libuuid-devel libacl-devel libcom_err-devel      # openSUSE

Get source:

VER=3.6.25
wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$VER/reiserfsprogs-$VER.tar.{sign,xz}
xz -d reiserfsprogs-$VER.tar.xz

gpg --recv-keys 2179E5B2
gpg --verify reiserfsprogs-$VER.tar.sign

tar -xf reiserfsprogs-$VER.tar && cd reiserfsprogs-$VER

Build & install:

./configure --prefix=/opt/reiserfsprogs && make                 # Prefix with CFLAGS="$CFLAGS -std=gnu89" for GCC-5
sudo make install

Or, from the Git tree:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeffm/reiserfsprogs.git reiserfsprogs-git
cd reiserfsprogs-git
libtoolize --copy --install --force && aclocal && autoheader && autoconf && automake --add-missing

./configure --prefix=/opt/reiserfsprogs && make
sudo make install
Personal tools