docs: add fsck.cramfs manual page

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-04-08 20:32:59 +01:00 committed by Karel Zak
parent 0ad2bacd88
commit 9c4040b0ae
2 changed files with 58 additions and 0 deletions

View File

@ -92,6 +92,7 @@ cramfs_common_sources = disk-utils/cramfs.h disk-utils/cramfs_common.c
sbin_PROGRAMS += fsck.cramfs
fsck_cramfs_SOURCES = disk-utils/fsck.cramfs.c $(cramfs_common_sources)
fsck_cramfs_LDADD = $(LDADD) -lz libcommon.la
dist_man_MANS += disk-utils/fsck.cramfs.8
sbin_PROGRAMS += mkfs.cramfs
mkfs_cramfs_SOURCES = disk-utils/mkfs.cramfs.c $(cramfs_common_sources)

57
disk-utils/fsck.cramfs.8 Normal file
View File

@ -0,0 +1,57 @@
.TH EXAMPLE "8" "April 2013" "util-linux" "System Administration"
.SH NAME
fsck.cramfs \- fsck compressed ROM file system
.SH SYNOPSIS
.B mkfs.cramfs
[options]
.I file
.SH DESCRIPTION
.I mkfs.cramfs
is used to check the cramfs file system.
.SH OPTIONS
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Enable verbose messaging.
.TP
\fB\-x\fR, \fB\-\-destination\fR [\fIdirectory\fR]
Extract contents of the
.I file
to
.IR directory .
.TP
\fB\-a\fR
This option is silently ignored.
.TP
\fB\-y\fR
This option is silently ignored.
.TP
\fB\-V\fR, \fB\-\-version\fR
Display version information and exit.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display help and exit.
.SH "EXIT STATUS"
.RS
.PD 0
.TP
.B 0
success
.TP
.B 4
file system was left uncorrected
.TP
.B 8
operation error, such as unable to allocate memory
.TP
.B 16
usage information was printed
.PD
.RE
.SH "SEE ALSO"
.BR mount (8),
.BR fsck.cramfs (8)
.SH AVAILABILITY
The example command is part of the util-linux package and is available from
.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
Linux Kernel Archive
.UE .