File | Date | Author | Commit |
---|---|---|---|
man | 2013-06-01 |
![]() |
[664ef3] updated man page |
packages | 2013-10-07 |
![]() |
[0c95b7] added spec file for rpmbuild |
src | 2014-03-04 |
![]() |
[accf85] node: refactore node_alloc() |
.gitignore | 2013-03-23 |
![]() |
[37beb5] use autotools |
ChangeLog | 2013-12-02 |
![]() |
[f6a803] update changelog for future release |
LICENSE | 2013-05-18 |
![]() |
[d6d504] replaced LICENSE with text of GPLv3 |
Makefile.am | 2013-10-01 |
![]() |
[77167b] splitted into several files |
README.md | 2014-01-22 |
![]() |
[9bce82] bootstrap.sh renamed to autogen.sh |
autogen.sh | 2014-01-22 |
![]() |
[9bce82] bootstrap.sh renamed to autogen.sh |
configure.ac | 2014-03-04 |
![]() |
[9b9b30] autotools: add subdir-objects option |
ls-fuse mounts output of 'ls -lR', 'ls -lRZ' or 'ls -l' as a pseudo filesystem.
Output of ftp clients' ls command can be mounted as well.
Purpose of ls-fuse project is similar to lsfs project or lslR plugin for
midnight commander. But the main goal was implementation of a fast native tool
with SELinux extended attributes support.
lf-fuse features:
ls-fuse supports output of ls that was run with the next options:
All regular files on the pseudo filesystem are readable. ls-fuse returns
some information about file when reading.
Obtain the latest sources from git repo:
git clone git://github.com/pasis/ls-fuse.git ls-fuse
Also you can get the latest stable tarball at sourceforge page.
If you got sources from git repo you need to run autogen.sh script at first.
It generates configure script. For stable tarballs you already have the
configure script and don't have to generate it. To build ls-fuse run the
following commands:
./autogen.sh
./configure
make
ls-fuse works on Android as native tool. Tested with fuse-android.
Note, ls-fuse requires access to /dev/fuse.
Gentoo users can install ls-fuse package from 'stuff' overlay:
layman -a stuff
emerge ls-fuse
Packages for RPM-based distributions can be found at sourceforge page.
For other Linux distributions or operating systems just run as root (after
building from sources of course):
make install
Note, you don't have to install ls-fuse to use it. You can use executable file
ls-fuse as standalone program.
After building binary you can try it out:
ls --color=never -lR > test.txt
mkdir mnt
./ls-fuse test.txt mnt
After that mnt/ will contain (I hope) files described in test.txt. The
following command will unmount fs:
fusermount -u mnt
ls-fuse supports reading from standard input stream:
mkdir ~/mnt
ls --color=never -lR | ls-fuse ~/mnt
or
bzip2 -d -c ls-lR.bz2 | ls-fuse ~/mnt
ls-fuse allows to merge a set of ls-lR files to a single directory:
ls-fuse 1.ls-lR 2.ls-lR 3.ls-lR ~/mnt
Any FUSE options must be placed after the set of files, for example:
ls-fuse 1.ls-lR 2.ls-lR 3.ls-lR -o ro ~/mnt
Option '-o ro' says FUSE to mount filesystem as read-only.