shithub: riscv

ref: 74272a8364547a7451f5e13f3988c75eb69ba3d7
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)