\\\$1\ \\$2 ..
20 \\\$1\ # \\$2 ..
5 -b # Number of blocks in the prototype is n
5 -d # Indent the prototype file using str instead of tab
5 -g # Use n as the gid for all files and directories
5 -i # Number of i-nodes in the prototype is n
5 -p # Use nnn (3 octal digits) as the protection mode
5 -s # Use the same uid, gid and mode as the source files have
5 -t # Use the string root as the path prefix for every file
5 -u # Use n as the uid for all files and directories
20 mkproto -b360 # Make a 360K prototype of this directory
20 mkproto -u2 -g1 -p644 # Give all files uid 2, gid 1 and mode 644
Mkproto creates an mkfs prototype file for the specified source-directory. The prototype file is either written to stdout or, if specified, the proto-file.