About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 6 years ago
  • Total downloads: 81
  • Price: Free |
  • Operating system: Linux
  • Publisher: Evan Broder
See full specifications

linux default iconRouteFS for Linux Publisher's description

A FUSE API wrapper based on URL routing

URLs were inspired by filesystems. RouteFS is here to return the favor. By describing read-only FUSE filesystems in terms of the directory tree instead of the syscall interface provided by FUSE, developers can write custom filesystems much more efficiently.

RouteFS uses the Routes library developed for the Pylons web development framework.

The canonical location for the RouteFS source code is here at Github. The source tree contains several examples of RouteFS, all corresponding to real use cases of RouteFS. Bugs against RouteFS can be reported at http://bugs.ebroder.net/projects/routefs

Here is an example filesystem written in RouteFS. This is a /home automounter that will automatically create symlinks from /home/user to user’s homedir whenever the /home path is accessed.

RouteFS Example: HomeFS

If you work on a system where home directories are on network storage
(i.e. not in /home), mount HomeFS on /home. It's an automounter that
will automatically create symlinks from user -> their homedir whenever
/home/user is accessed in any way.

import pwd
import routefs
from routes import Mapper

class HomeFS(routefs.RouteFS):
def __init__(self, *args, **kwargs):
super(HomeFS, self).__init__(*args, **kwargs)
self.cache = {}

def make_map(self):
m = Mapper()
m.connect('', controller='getList')
m.connect(':action', controller='getUser')
return m

def getUser(self, action, **kwargs):
if action not in self.cache:
self.cache[action] = pwd.getpwnam(action).pw_dir
return routefs.Symlink(self.cache[action])
except KeyError:

def getList(self, **kwargs):
return self.cache.keys()

if __name__ == '__main__':

RouteFS has a dual-license, under Version 1.1 of the MPL and Version 2 (or later) of the GPL.


System Requirements:

В· Python
В· Filesystem in Userspace
Program Release Status:
Program Install Support: Install and Uninstall

Most Popular

linux default icon JOrg 0.93 RC
It's a software to help you control your files and their location.
linux default icon Android HTC 2.3
Android ported to the HTC Vogue, Kaiser, Polaris, and Nike.
linux default icon iReport Designer for JasperReports 4.0.2
iReport is the free, open source report designer for JasperReports.
linux default icon jGRASP 1.8.8_07 Beta
jGRASP is a lightweight development environment,.....
linux default icon Code::Blocks 10.05
A C/C++ IDE built with configurability and extensibility in mind

Related Category

» Archiving (73)
» Benchmarking (88)
» Other (3482)
» Printer (63)
» Shell Tools (113)