fspropfaker
Latest version: 0.2
File-system property faker library
Features:- based on libfuse
- can be integrated in unit tests
- currently can only fake disk size and disk free space
Debian binary packages (amd64 architecture)
For Debian based Linux distros like Debian, Ubuntu, Linux Mint, etc.Hardware: PCs (x86-64 or amd64 CPUs)
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo apt-get install libfuse
Download, unzip and install
$ wget https://www.efanomars.com/bins/fspropfaker-0.2-1-deb-amd64-d09.tar.gz
$ sha256sum fspropfaker-0.2-1-deb-amd64-d09.tar.gz # should return
$ # 0fdea6e2221cbd543e8973d0a056bd40fb0795fcf74705b98c98af9caa541d49
$ tar xvz -f fspropfaker-0.2-1-deb-amd64-d09.tar.gz
$ cd fspropfaker-0.2
$ ./install-bin.sh # with -d also development debs are installed
Uninstall
From the same directory of install-bin.sh$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh # with -d also development debs are uninstalled
Arch binary package (amd64 architecture)
For Linux Arch based distros like Arch, Manjaro, etc.Hardware: PCs (x86-64 or amd64 CPUs)
This project is also available in the AUR (Arch User Repository) at https://aur.archlinux.org/packages/fspropfaker/.
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo pacman -S fuse
Download and install
$ wget https://www.efanomars.com/bins/fspropfaker-0.2-1-arch-amd64-m.pkg.tar.xz
$ sha256sum fspropfaker-0.2-1-arch-amd64-m.pkg.tar.xz # should return
$ # c0b52fcf5a289ce8d1d65f785bc9f306293db40d95438098d23be7d44b9792e6
$ sudo pacman -U fspropfaker-0.2-1-arch-amd64-m.pkg.tar.xz
Uninstall
$ sudo pacman -R fspropfaker
Debian binary packages (arm64 architecture)
For Debian based Linux distros like Raspberry Pi OS, Debian, Ubuntu, etc.Hardware: Raspberry Pi 4, PineBook
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo apt-get install libfuse
Download, unzip and install
$ wget https://www.efanomars.com/bins/fspropfaker-0.2-1-deb-arm64-d09.tar.gz
$ sha256sum fspropfaker-0.2-1-deb-arm64-d09.tar.gz # should return
$ # 20c0f88cccb41011acbdbb2bc6ec0c790ba4ccfe75a0ae69831f7f88e1c1ae11
$ tar xvz -f fspropfaker-0.2-1-deb-arm64-d09.tar.gz
$ cd fspropfaker-0.2
$ ./install-bin.sh # with -d also development debs are installed
Uninstall
From the same directory of install-bin.sh$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh # with -d also development debs are uninstalled
Arch binary package (arm64 architecture)
For Linux Arch based distros like Arch, Manjaro, etc.Hardware: PineBook, Raspberry Pi 4
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo pacman -S fuse
Download and install
$ wget https://www.efanomars.com/bins/fspropfaker-0.2-1-arch-arm64-m.pkg.tar.xz
$ sha256sum fspropfaker-0.2-1-arch-arm64-m.pkg.tar.xz # should return
$ # e5c4a68edff0fff192669882b4306d1ca519e2a6783efd5cd0b01d82c4fc4cea
$ sudo pacman -U fspropfaker-0.2-1-arch-arm64-m.pkg.tar.xz
Uninstall
$ sudo pacman -R fspropfaker
Debian binary packages (armhf architecture)
For Debian based Linux distros like Raspberry Pi OS, Debian, Ubuntu, etc.Hardware: Raspberry Pi 3B+
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo apt-get install libfuse
Download, unzip and install
$ wget https://www.efanomars.com/bins/fspropfaker-0.2-1-deb-armhf-d09.tar.gz
$ sha256sum fspropfaker-0.2-1-deb-armhf-d09.tar.gz # should return
$ # 3ecc572342fb4cc834759cac2675954ad18ee0d861c478412fc286b285ba87bd
$ tar xvz -f fspropfaker-0.2-1-deb-armhf-d09.tar.gz
$ cd fspropfaker-0.2
$ ./install-bin.sh # with -d also development debs are installed
Uninstall
From the same directory of install-bin.sh$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh # with -d also development debs are uninstalled
Other linux distributions or architectures
Prerequisite packages
- libfuse-dev
- g++
- cmake
- doxygen
- graphviz
- python3
Download, build and install
$ git clone https://gitlab.com/efanomars/fspropfaker.git
$ cd fspropfaker
$ STMM_MAKE_OPTIONS="--jobs=4" ./scripts/install_fspropfaker-all.py -b=Release
Uninstall
$ ./scripts/uninstall_fspropfaker-all.py
Source code
Gitlab: https://gitlab.com/efanomars/fspropfaker
Tarball: https://www.efanomars.com/sources/fspropfaker-0.2.tar.gz
(sha256sum: b136c281280955a1b8e7e7e124fc99557f0125b861bd20d03a717c77bbddcf15)Contents
This source package contains:- libfspropfaker: library that fakes file system properties to test other applications.