Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Mount a zip file as a filesystem: (4 Items)
   
Mount a zip file as a filesystem  
Is there any way to mount a zip file as a read-only file system?  Rather than copy and unzip, it would be really handy 
in my application to take a zip file on a USB drive and mount it as a file system.  Unzipping would be done on-the-fly 
as files are read.  Is there any way this can be done?
Re: Mount a zip file as a filesystem  
You are describing a "virtual filesystem".  QNX provides two: inflator (see "system architecture" guide) and pkgserver 
(used as an install tool).

AFIK none exists for zip archives - though you could write one!

Re: Mount a zip file as a filesystem  
The deflate utility and inflator resource manager are documented here:

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/d/deflate.html

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/i/inflator.html

-asherk

> You are describing a "virtual filesystem".  QNX provides two: inflator (see "
> system architecture" guide) and pkgserver (used as an install tool).
> 
> AFIK none exists for zip archives - though you could write one!
> 


RE: Mount a zip file as a filesystem  
Rob Krten's book, The QNX Cookbook, includes code for a tar filesystem that you might find useful.

Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems

-----Original Message-----
From: Andrew Sherk [mailto:community-noreply@qnx.com] 
Sent: Tuesday, February 14, 2012 9:50 AM
To: general-filesystems
Subject: Re: Mount a zip file as a filesystem

The deflate utility and inflator resource manager are documented here:

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/d/deflate.html

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/i/inflator.html

-asherk

> You are describing a "virtual filesystem".  QNX provides two: inflator (see "
> system architecture" guide) and pkgserver (used as an install tool).
> 
> AFIK none exists for zip archives - though you could write one!
> 






_______________________________________________

General
http://community.qnx.com/sf/go/post91558