source: trunk/minix/man/man1/mkproto.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.2 KB
Line 
1.TH MKPROTO 1
2.SH NAME
3mkproto \- create a MINIX 3 prototype file
4.SH SYNOPSIS
5\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
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-b" "Number of blocks in the prototype is \fIn\fR"
19.FL "\-d" "Indent the prototype file using \fIstr\fR instead of tab"
20.FL "\-g" "Use \fIn\fR as the gid for all files and directories"
21.FL "\-i" "Number of i-nodes in the prototype is \fIn\fR"
22.FL "\-p" "Use \fInnn\fR (3 octal digits) as the protection mode"
23.FL "\-s" "Use the same uid, gid and mode as the source files have"
24.FL "\-t" "Use the string \fIroot\fR as the path prefix for every file"
25.FL "\-u" "Use \fIn\fR as the uid for all files and directories"
26.SH EXAMPLES
27.EX "mkproto \-b360" "Make a 360K prototype of this directory"
28.EX "mkproto \-u2 \-g1 \-p644" "Give all files uid 2, gid 1 and mode 644"
29.SH DESCRIPTION
30.PP
31\fIMkproto\fR creates an \fImkfs\fR prototype file for the specified
32source-directory.
33The prototype file is either written to \fIstdout\fR or, if specified,
34the proto-file.
35.SH "SEE ALSO"
36.BR mkfs (1).
Note: See TracBrowser for help on using the repository browser.