paqfs – compressed read-only file system


paqfs [ -disv ] [ -c cachesize ] [ -m mtpt ] [ -M mesgsize ] [ -S srvname ] paqfile


Paqfs interprets the compressed read-only file system created by mkpaqfs(8) and stored in paqfile so that it can be mounted into a Plan 9 file system. Paqfs is typically used to create a stand alone file system for a small persistent storage device, such as a flash ROM. It does not authenticate its clients and assumes each group has a single member with the same name.

Options to paqfs are:

-c cachesize

The number of file system blocks to cache in memory. The default is 20 blocks.  

-M mesgsize

The maximum 9P message size. The default is sufficient for 8K byte read message.  


Output various debugging information to stderr.  


Use file descriptors 0 and 1 as the 9P communication channel rather than create a pipe.  


Suppress the output of the archive creation date and fingerprint to stderr.  

-m mtpt

The location to mount the file system. The default is /n/paq.  


Post the 9P channel on #s/srvname, default #s/paqfs, rather than mounting it on mtpt.  


The name to post in #s. The default is paqfs.  


Both post the 9P channel in #s and mount the paqfile in to the filesystem.  


Verify the integrity of the paqfile. Before mounting the file system, the entire file is parsed and the sha1 checksum of the file system data is compared to the checksum embedded in the file. This option enables the use of paqfs with files that consist of a paq file system concatenated with additional data.