内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (6561 KB)
pkgproto(1)Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes Name
Synopsispkgproto [-i] [-c class] [path1] pkgproto [-i] [-c class] [path1=path2]... Descriptionpkgproto scans the indicated paths and generates prototype(4) file entries that may be used as input to the pkgmk(1) command. If no paths are specified on the command line, standard input is assumed to be a list of paths. If the pathname listed on the command line is a directory, the contents of the directory is searched. However, if input is read from stdin, a directory specified as a pathname will not be searched. Package commands, such as pkgproto, are largefile(5)-aware. They handle files larger than 2 GB in the same way they handle smaller files. In their current implementations, pkgadd(1M), pkgtrans(1) and other package commands can process a datastream of up to 4 GB. Options
Operands
ExamplesExample 1 Basic UsageThe following example shows a common usage of pkgproto and a partial listing of the output produced.
Example 2 Using pkgproto in a PipelineThe following command shows pkgproto accepting the output of the find command.
Exit StatusAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoNotesBy default, pkgproto creates symbolic link entries for any symbolic link encountered (ftype=s). When you use the -i option, pkgproto creates a file entry for symbolic links (ftype=f). The prototype(4) file would have to be edited to assign such file types as v (volatile), e (editable), or x (exclusive directory). pkgproto detects linked files. If multiple files are linked together, the first path encountered is considered the source of the link. By default, pkgproto prints prototype entries on the standard output. However, the output should be saved in a file (named Prototype or prototype, for convenience) to be used as input to the pkgmk(1) command. Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Notes |
||||||