shithub: riscv

ref: 037bc7b4328948994f8b8fa2be487aac1cca835f
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)