commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Ostmo <>
Subject [vfs] Lifecycle of custom Provider for squashfs
Date Mon, 30 Dec 2013 00:07:16 GMT
I would like to make access to the contents of a squashfs filesystem
transparent through the Commons VFS as currently can be done with .tar and
.zip.  For instance, I might access a URI like this:


I have so far implemented simple methods to mount and unmount the .squashfs
file in a temporary directory, but am unsure of the most direct path to
integrate those methods into the Provider lifecycle.

I happened across the Capabilities.DISPATCHER constant.  I'm not sure of
its purpose, but might there be a "lightweight" technique to translate
original URI paths for the squashfs inner contents to the mounted temporary
directory?  Then I would need to know which "hooks" are available to
trigger the mounting and cleanup (unmounting) of the .squashfs file.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message