pkgproto man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pkgproto(1)							   pkgproto(1)

NAME
     pkgproto - generate a prototype file

SYNOPSIS
     pkgproto [-i] [-c class] [path1[=path2] . . . ]

DESCRIPTION
     pkgproto scans the indicated paths and generates a prototype file that
     may be used as input to the pkgmk command.

     -i	       Ignores symbolic links and records the paths as ftype=f (a
	       file) versus ftype=s(symbolic link)

     -c	       Maps the class of all paths to class.

     path1     Path of directory where objects are located.

     path2     Path that should be substituted on output for path1.

     If no paths are specified on the command line, standard input is assumed
     to be a list of paths.  If the path listed on the command line is a
     directory, the contents of the directory are searched.  However, if input
     is read from stdin, a directory specified as a path will not be searched.

     The protoype file attributes mac, fixed, and inherited, cannot be
     determined by pkgproto;  to add these attributes to the prototype file,
     you must add them to the file manually.  See prototype(4).

NOTES
     By 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 file must be
     edited to assign file types such 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.

EXAMPLE
     The following two examples show uses of pkgproto and a partial listing of
     the output produced.

     Example 1:
	  $ pkgproto /usr/bin=bin /usr/usr/bin=usrbin /etc=etc
	  f none bin/sed=/bin/sed 0775 bin bin
	  f none bin/sh=/bin/sh 0755 bin daemon
	  f none bin/sort=/bin/sort 0755 bin bin
	  f none usrbin/sdb=/usr/bin/sdb 0775 bin bin
	  f none usrbin/shl=/usr/bin/shl 4755 bin bin
	  d none etc/master.d 0755 root daemon
	  f none etc/master.d/kernel=/etc/master.d/kernel 0644 root daemon
	  f none etc/rc=/etc/rc 0744 root daemon
     Example 2:

									Page 1

pkgproto(1)							   pkgproto(1)

	  $ find / -type d -print | pkgproto
	  d none / 755 root root
	  d none /usr/bin 755 bin bin
	  d none /usr 755 root root
	  d none /usr/bin 775 bin bin
	  d none /etc 755 root root
	  d none /tmp 777 root root

SEE ALSO
     pkgmk(1), pkgparam(1), pkgtrans(1).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net