Proxy filesystem for FUSE is an implementation of a filesystem that resolves symlinks and displays them as real folders as well as a few more things.
For example it is possible to point a folder or a single file at a file in the users home directory. Also it is possible to hide files / directories from the folder listing.
Configuration is done through a .proxyfs file in a directory.
Configuration:
The configuration is stored in a file named .proxyfs. The format is standard .ini format, that is section headers in [] following keys / values for the section. The section can be either [Directory], meaning the properties are applied to the current directory or [File/< somefile >] meaning the properties are applied to the file < somefile >.
Available properties are:
LinkTo
- This links the folder or the file to the string specified. You can use the ~ character in the string to link to the current users home directory.
Hidden
- This hides the current folder or file if set to 1.
There will be more options in later versions (if time permits.
Installation:
First you need to install wxWidgets (currently you have to use non-Unicode, but I'm working on this). I've configured, compiled and installed 2.6.4 like this:
host:~/wxWidgets# ./configure --disable-unicode --with-zlib --disable-gui --prefix=/usr && make && make install
You also will need FUSE. I've used the standard Gentoo FUSE ebuild for this.
To build the source code use this:
host:~/proxyfs# ./build.sh
If everything went right you can now mount the filesystem:
host:~/proxyfs# ./proxyfs /mnt/proxyfs /proxyfsroot
host:~/proxyfs# ls -lah /mnt/proxyfs
total 8.0K
drwxr-xr-x 2 root root 4.0K 2007-08-27 01:54 .
drwxr-xr-x 4 root root 4.0K 2007-08-27 01:54 ..
-rw-r--r-- 1 root root 0 2007-08-27 01:54 hello_world
host:~/proxyfs#
Product's homepage