bindex is a file system like bind mount using fuse. When you read the executable file, the execution result is read.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
include
misc
release
src
test
.clang-format
.gitignore
.travis.yml
LICENSE
Makefile
README.md
Vagrantfile

README.md

Fuse-BindEx

bindex is a file system like bind mount using fuse. When you read the executable file, the execution result is read.

Requirements

  • Linux kernel supporting FUSE
  • FUSE 2.6 (or later) package
    • libfuse2 (Ubuntsu/debian)
    • fuse-libs (CentOS)

Install

Or.

  • Build on linux
git clone https://github.com/harasou/fuse-bindex.git
cd fuse-bindex

sudo misc/provision
make
bin/bindex --help

Usage

  1. Create mount point

    mkdir /mnt/bindex
    
  2. Preparation of executable file

    mkdir /opt/bindex/
    cat <<EOD> /opt/bindex/now
    #!/bin/bash
    date "+%F %T"
    EOD
    chmod +x /opt/bindex/now
    
  3. Mount

    bindex /opt/bindex /mnt/bindex
    mount -t fuse.bindex
    
  4. 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
    

License

Paddington is licensed under the MIT license. Copyright (c) 2018 SOGO Haraguchi