Public Git Repositories
Git repositories of nilfs-related packages are available at GitHub.
Getting Source Code Using Git
You can get the source code of NILFS utilities with "git clone" command:
$ git clone https://github.com/nilfs-dev/nilfs-utils.git
Some standalone kernel modules of NILFS2 are also obtainable in the same manner. For instance, the latest source code of kernel module for RHEL 9 clones and CentOS Stream 9 can be downloaded as follows:
$ git clone https://github.com/nilfs-dev/nilfs2-kmod9.git
These repositories can be updated with "git pull" command. Please see https://git-scm.com/ for further information.
Preparations To Build nilfs-utils
Since nilfs-utils repository doesn't include any intermediate files, you need to run autogen.sh first.
$ cd nilfs-utils $ ./autogen.sh
This may require libtool, autoconf (-2.6 or later), and automake packages.
Then, you will be able to build & install utilities in the usual manner:
$ ./configure $ make $ sudo make install
You may need or want to tweak build options. For example, if you want to change the library installation location according to the system library directory, specify the "--libdir" option to the configure script as shown below:
$ ./configure --libdir=/usr/lib64
For details on build options, please see the README file contained in nilfs-utils.
Good luck!
Copyright © 2014 - 2024, NILFS Community.