Skip to content

harasou/fuse-bindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published