74 lines
1.9 KiB
HTML
74 lines
1.9 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>mkproto(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>mkproto(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
mkproto - create a MINIX prototype file
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>mkproto</STRONG> [<STRONG>-b</STRONG> <EM>n</EM>] [<STRONG>-d</STRONG> <EM>str</EM>] [<STRONG>-g</STRONG> <EM>n</EM>] [<STRONG>-i</STRONG> <EM>n</EM>] [<STRONG>-p</STRONG> <EM>nnn</EM>] [<STRONG>-s</STRONG>] [<STRONG>-t</STRONG> <EM>root</EM>] [<STRONG>-u</STRONG> <EM>n</EM>]
|
|
<EM>source</EM>_<EM>directory</EM> [<EM>prototype</EM>_<EM>file</EM>]
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-b</STRONG> Number of blocks in the prototype is <EM>n</EM>
|
|
|
|
<STRONG>-d</STRONG> Indent the prototype file using <EM>str</EM> instead of tab
|
|
|
|
<STRONG>-g</STRONG> Use <EM>n</EM> as the gid for all files and directories
|
|
|
|
<STRONG>-i</STRONG> Number of i-nodes in the prototype is <EM>n</EM>
|
|
|
|
<STRONG>-p</STRONG> Use <EM>nnn</EM> (3 octal digits) as the protection mode
|
|
|
|
<STRONG>-s</STRONG> Use the same uid, gid and mode as the source files have
|
|
|
|
<STRONG>-t</STRONG> Use the string <EM>root</EM> as the path prefix for every file
|
|
|
|
<STRONG>-u</STRONG> Use <EM>n</EM> as the uid for all files and directories
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>mkproto</STRONG> <STRONG>-b360</STRONG> # Make a 360K prototype of this directory
|
|
|
|
<STRONG>mkproto</STRONG> <STRONG>-u2</STRONG> <STRONG>-g1</STRONG> <STRONG>-p644</STRONG>
|
|
# Give all files uid 2, gid 1 and mode 644
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Mkproto</EM> creates an <EM>mkfs</EM> prototype file for the specified source-
|
|
directory. The prototype file is either written to <EM>stdout</EM> or, if
|
|
specified, the proto-file.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/mkfs.1.html">mkfs(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|