shithub: riscv

ref: fd8a2d81c3ddf6584d2b47f1b8efe30b66beb7b5
dir: /sys/man/8/mkpaqfs/

View raw version
.TH MKPAQFS 8
.SH NAME
mkpaqfs \- make a compressed read-only file system
.SH SYNOPSIS
.B mkpaqfs
[
.B -u
] [
.B -1-9
] [
.B -b
.I blocksize
] [
.B -l
.I label
] [
.B -o
.I file
] [
.I source
]
.SH DESCRIPTION
.I Mkpaqfs
copies files from the file tree
.I source
(default
.BR . )
to the
.IR paqfs (4)
file system archive
.IR file .
.PP
The files and directory structure are divided into
.I blocksize
(default
.BR 4096 )
byte blocks.
Larger blocks make large files more compact but take longer to access.
.I Blocksize
must be in the range of 512 bytes to 512K bytes.
If the
.B -u
option is set, the blocks are not compressed.
Otherwise each block is compressed using the
.IR flate (2)
compression algorithm.
The compression level can be set using the flags
.B -1
to
.B -9
(defaults to 
.BR -6 ).
The
.B -l
option embeds a label of up to 32 bytes within the file header and may be
useful for identifying the file system.
.SH SOURCE
.B /sys/src/cmd/paqfs/mkpaqfs.c
.SH "SEE ALSO"
.IR paqfs (4)