shithub: riscv

ref: 6abe569ec8f47ba14c3dcd5d5214e7b7a020bf7a
dir: /sys/man/8/mkflashfs/

View raw version
.TH MKFLASHFS 8
.SH NAME
mkflashfs \- make a journalling file system for flash memory
.SH SYNOPSIS
.B aux/mkflashfs
[
.B -n
.I nsect
] [
.B -z
.I sectsize
]
.I file
.SH DESCRIPTION
.I Mkflashfs
creates an empty journalling file system in
.IR file ,
typically
.BR /dev/flash/flash .
.PP
The files and directory structure are divided into
.I sectsize
(default
.BR 4096 )
byte blocks.
Larger blocks make large files more compact but take longer to access.
Supplying the
.B -n
option forces
.I file
to contain exactly
.I nsect
sectors.
.SH SOURCE
.B /sys/src/cmd/aux/flashfs/mkfs.c
.SH "SEE ALSO"
.IR flashfs (4),
.IR paqfs (4),
.IR sacfs (4)