bindex is a file system like bind mount using fuse. When you read the executable file, the execution result is read.
- Linux kernel supporting FUSE
- FUSE 2.6 (or later) package
- libfuse2 (Ubuntsu/debian)
- fuse-libs (CentOS)
- Download rpm or deb package from GitHub Releases. and install package.
Or.
- Build on linux
git clone https://github.com/harasou/fuse-bindex.git
cd fuse-bindex
sudo misc/provision
make
bin/bindex --help
-
Create mount point
mkdir /mnt/bindex
-
Preparation of executable file
mkdir /opt/bindex/ cat <<EOD> /opt/bindex/now #!/bin/bash date "+%F %T" EOD chmod +x /opt/bindex/now
-
Mount
bindex /opt/bindex /mnt/bindex mount -t fuse.bindex
-
Done
cat /mnt/bindex/now
ex.
root@ubuntu-bionic:~/fuse-bindex# cat /mnt/bindex/now 2018-12-31 13:26:25 root@ubuntu-bionic:~/fuse-bindex# cat /mnt/bindex/now 2018-12-31 13:26:28 root@ubuntu-bionic:~/fuse-bindex# cat /mnt/bindex/now 2018-12-31 13:26:31
Paddington is licensed under the MIT license. Copyright (c) 2018 SOGO Haraguchi