summaryrefslogtreecommitdiff
path: root/sys/man/8/mkpaqfs
blob: c9d8b391cbdd223a2bbd1d2c25184e63f0e441c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH MKPAQFS 8
.SH NAME
mkpaqfs \- make a compressed read-only file system
.SH SYNOPSIS
.B mkpaqfs
[
.B -u
] [
.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 52K 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
.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)