57 lines
1.3 KiB
Groff
57 lines
1.3 KiB
Groff
.TH MKPROTO 1
|
|
.SH NAME
|
|
mkproto \- create a MINIX 3 prototype file
|
|
.SH SYNOPSIS
|
|
\fBmkproto \fR[\fB\-b \fIn\fR] [\fB\-d \fIstr\fR] [\fB\-g \fIn\fR] [\fB\-i \fIn\fR] [\fB\-p \fInnn\fR] [\fB\-s\fR] [\fB\-t \fIroot\fR] [\fB\-u \fIn\fR] \fIsource_directory\fR [\fIprototype_file\fR]\fR
|
|
.br
|
|
.de FL
|
|
.TP
|
|
\\fB\\$1\\fR
|
|
\\$2
|
|
..
|
|
.de EX
|
|
.TP 20
|
|
\\fB\\$1\\fR
|
|
# \\$2
|
|
..
|
|
.SH OPTIONS
|
|
.TP 5
|
|
.B \-b
|
|
# Number of blocks in the prototype is \fIn\fR
|
|
.TP 5
|
|
.B \-d
|
|
# Indent the prototype file using \fIstr\fR instead of tab
|
|
.TP 5
|
|
.B \-g
|
|
# Use \fIn\fR as the gid for all files and directories
|
|
.TP 5
|
|
.B \-i
|
|
# Number of i-nodes in the prototype is \fIn\fR
|
|
.TP 5
|
|
.B \-p
|
|
# Use \fInnn\fR (3 octal digits) as the protection mode
|
|
.TP 5
|
|
.B \-s
|
|
# Use the same uid, gid and mode as the source files have
|
|
.TP 5
|
|
.B \-t
|
|
# Use the string \fIroot\fR as the path prefix for every file
|
|
.TP 5
|
|
.B \-u
|
|
# Use \fIn\fR as the uid for all files and directories
|
|
.SH EXAMPLES
|
|
.TP 20
|
|
.B mkproto \-b360
|
|
# Make a 360K prototype of this directory
|
|
.TP 20
|
|
.B mkproto \-u2 \-g1 \-p644
|
|
# Give all files uid 2, gid 1 and mode 644
|
|
.SH DESCRIPTION
|
|
.PP
|
|
\fIMkproto\fR creates an \fImkfs\fR prototype file for the specified
|
|
source-directory.
|
|
The prototype file is either written to \fIstdout\fR or, if specified,
|
|
the proto-file.
|
|
.SH "SEE ALSO"
|
|
.BR mkfs (1).
|