Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.352.168 Times

RouteFS for Linux 1.1.2

Company: Evan Broder
Date Added: August 30, 2013  |  Visits: 210

RouteFS for Linux

Report Broken Link
Printer Friendly Version


Product Homepage
Download (33 downloads)



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.<br /><br />RouteFS uses the Routes library developed for the Pylons web development framework.<br /><br />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<br /><br />Here is an example filesystem written in RouteFS. This is a /home automounter that will automatically create symlinks from /home/user to user???*a*?s homedir whenever the /home path is accessed.<br /><br />#!/usr/bin/python<br />"""<br />RouteFS Example: HomeFS<br /><br />If you work on a system where home directories are on network storage<br />(i.e. not in /home), mount HomeFS on /home. It's an automounter that<br />will automatically create symlinks from user -> their homedir whenever<br />/home/user is accessed in any way.<br />"""<br /><br />import pwd<br />import routefs<br />from routes import Mapper<br /><br />class HomeFS(routefs.RouteFS):<br /> def __init__(self, *args, **kwargs):<br /> super(HomeFS, self).__init__(*args, **kwargs)<br /> self.cache = {}<br /><br /> def make_map(self):<br /> m = Mapper()<br /> m.connect('', controller='getList')<br /> m.connect(':action', controller='getUser')<br /> return m<br /><br /> def getUser(self, action, **kwargs):<br /> try:<br /> if action not in self.cache:<br /> self.cache[action] = pwd.getpwnam(action).pw_dir<br /> return routefs.Symlink(self.cache[action])<br /> except KeyError:<br /> return<br /><br /> def getList(self, **kwargs):<br /> return self.cache.keys()<br /><br />if __name__ == '__main__':<br /> routefs.main(HomeFS)<br /><br />RouteFS has a dual-license, under Version 1.1 of the MPL and Version 2 (or later) of the GPL.<br /><br />#md5=2d908f8bb911cac434e30cae3450db8b<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Action Automatically Automounter Create Duallicense Filesystems Homedir Homefsroutefsroutefs Kwargs Linux Mapperclass Return Routefs Routefs Linux Routefsfrom Routes Selfcache Source Symlinks Version
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


ROUTEFS FOR LINUX RELATED
Automation Tools  -  Create Mail Message 1.0
Create Mail Message is a free Automator action which will create a new outgoing Mail message that accepts references to disk items, a text string, or a list of text strings, as optional input. All Address Book entries are available,...
81.92 KB  
Modules  -  Scheduled Actions 5.x-1.x-dev 1.0
The module defines an Action template called "Create an action-scheduling action". An action-scheduling action (ASA) schedules some other action to occur in the future. The actions are executed during the first invocation of cron.php that occurs...
 
Utilities  -  W-Packager 0.4
W-Packager is a packager similar to dpkg that can be used by anyone to create and maintain Debian packages under Linux or other Unix systems. The aim of the project is primarily to have a workable version of a packager that can be compiled on...
409.6 KB  
Networking Tools  -  Frankenwall 0.5.10
Frankenwall is a bash shell script intended to create a highly secure IPTables based Linux firewall/router with QOS/traffic shaping/bandwidth management. Be certain you know exactly what your network needs before using it. The primary focus of...
18.43 KB  
Libraries  -  LibJpeg.Net 1.1.2057
LibJpeg.Net is a free and open source .NET version of original libjpeg library that allows you to read and create JPEG images in a .NET compatible language. Full source code with tests and test images is available. Classic and more clean modern...
281.85 KB  
Libraries  -  wxWidgets for Windows 2.9.3
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+. It has popular...
30.2 MB  
Libraries  -  wxWidgets for Linux 2.9.3
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+. It has popular...
15 MB  
Libraries  -  wxWidgets for Mac OS X 2.9.3
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+. It has popular...
16.4 MB  
Development Tools  -  wxWidgets 2.8.4
wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+. It has popular...
 
Backup Utilities  -  LiveBackup (a LiveCD creation toolbox) 1.5.2
LiveBackup is a framework to create live-cd's from installed Linux systems. It supports different hardware detection systems and provides user configuration separated from backup images. Please visit the project page for more details.
2.56 MB  
NEW DOWNLOADS IN SHELL & DESKTOP, FILE UTILITIES
Shell & Desktop  -  Glunarclock 0.32.4
GNOME Lunar Clock Applet displays the current phase of the Moon as an applet for the gnome panel. In the properties box you can choose between a real image Features Pointing with the mouse at the applet...
522.24 KB  
Shell & Desktop  -  Fekete 5
Icon theme for Linux For all possible desktop, and Linux distro Special additives: Suse's Yast icons. Xfce system icons, and archaic mimetypes icons Mandriva "special placed" status icons. Libreoffice icons.
71.59 MB  
Shell & Desktop  -  XFast 0.9
XFast is a slim and lightweighted desktop environment that incorporates X and Window Manager within the same project.
1.15 MB  
Shell & Desktop  -  print selection konqueror service menu 0.1
This service menu give you a *silly* way to print fast your selection on konqueror USE select the text copy the text rigt button on the webpage select print selection a kdialog will appear paste the text
10.24 KB  
Shell & Desktop  -  Faenza 1.2
Faenza icon theme is available to install for Ubuntu users via a PPA repository. View the README file for instructions and a list of known issues.
23.49 MB  
File Utilities  -  Active@ KillDisk Linux Console 9.1.1110
Active@ KillDisk for Linux (Console) is a powerful utility that will: wipe confidential data from unused space on your hard drive; erase data from partitions or from an entire hard disk; destroy data permanently. Active@ KillDisk for Linux...
11.07 MB  
File Utilities  -  Metalinks 5.1
Metalinks is a project to facilitate data distribution over mirrors and P2P networks. It does so by defining an XML format and the tools to handle these. The metalink files contain all the information needed to download and verify files.
5.05 MB  
File Utilities  -  PUFS 0.0.2c
PUFS - Peer Union File System - is a poor man's na???ve distributed file system built on top of FUSE, hence running totally in user space. The project is distributed under the GPL license. PUFS' philosophy is somewhat in line...
408.58 KB  
File Utilities  -  frfs 0.0.3
frfs implements a fully functional in-RAM filesystem using the FUSE framework. Overview: With Linux, creating RAM-backed file system is easy: su to root, mount a tmpfs some place, come back to plain user. Ah, but...
153.6 KB  
File Utilities  -  twander 3.231
'twander' is a macro-programmable Filesystem Browser that runs on both Unix-like systems as well as Win32 systems. It embraces the best ideas of both similar GUI-driven programs (Konqueror, Windows Explorer) as well as text-based interfaces...
737.28 KB