shithub: riscv

ref: 88181e1c5c8d19e61c76b93620abcbc7c2e57481
dir: /sys/man/8/mksacfs/

View raw version
.TH MKSACFS 8
.SH NAME
mksacfs \- make a compressed file system
.SH SYNOPSIS
.B disk/mksacfs
.RB [ -u ]
.RB [ -b
.IR blocksize ]
.RB [ -o
.IR file ]
.I source
.SH DESCRIPTION
.I Mksacfs
copies files from the file tree
.I source
(default
.BR . )
to a the
.IR sacfs (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 at least 116.
If
.B -u
is given, the blocks are not compressed.
Otherwise each block is compressed using an efficient compression algorithm.
.SH SOURCE
.B /sys/src/cmd/disk/sacfs/mksacfs.c
.SH "SEE ALSO"
.IR sacfs (4)