PAQFS(4)PAQFS(4)

NAME

paqfs – compressed read-only file system

SYNOPSIS

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

DESCRIPTION

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.  

-d

Output various debugging information to stderr.  

-i

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

-q

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.  

-s

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

-S

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

-p

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

-v

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.  

SOURCE

/sys/src/cmd/paqfs/paqfs.c

SEE ALSO

mkpaqfs(8)