tar.h man page on SunOS

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

tar.h(3HEAD)			    Headers			  tar.h(3HEAD)

NAME
       tar.h, tar - extended tar definitions

SYNOPSIS
       #include <tar.h>

DESCRIPTION
       The <tar.h> header defines header block definitions as follows.

       General definitions:

       Name		  Value		     Description
       TMAGIC		  "ustar"	     ustar plus null byte
       TMAGLEN		  6		     length of the above
       TVERSION		  "00"		     00 without a null byte
       TVERSLEN		  2		     length of the above

       Typeflag field definitions:

       Name		  Value		     Description
       REGTYPE		  '0'		     regular file
       AREGTYPE		  '\0'		     regular file
       LNKTYPE		  '1'		     link
       SYMTYPE		  '2'		     symbolic link
       CHRTYPE		  '3'		     character special
       BLKTYPE		  '4'		     block special
       DIRTYPE		  '5'		     directory
       FIFOTYPE		  '6'		     FIFO special
       CONTTYPE		  '7'		     reserved

       Mode field bit definitions (octal):

       Name		  Value		     Description
       TSUID		  04000		     set UID on execution
       TSGID		  02000		     set GID on execution
       TSVTX		  01000		     on		directories,
					     restricted	    deletion
					     flag
       TUREAD		  00400		     read by owner
       TUWRITE		  00200		     write by owner special
       TUEXEC		  00100		     execute/search by owner
       TGREAD		  00040		     read by group
       TGWRITE		  00020		     write by group
       TGEXEC		  00010		     execute/search by group
       TOREAD		  00004		     read by other
       TOWRITE		  00002		     write by other
       TOEXEC		  00001		     execute/search by other

       Types used in ancillary files:

       Name		    Value	    Description
       ACL_HDR		    'A'		    Access Control List
       LBL_TYPE		    'L'		    Trusted Extensions file label
       DIR_TYPE		    'D'		    Trusted Extensions directory label

       Attribute types used in Trusted Solaris ancillary files that are inter‐
       preted by Trusted Extensions for backward compatibility:

       Name		    Value	    Description
       SLD_TYPE		    'S'		    Single-level directory component
       PATH_TYPE	    'P'		    Path component
       MLD_TYPE		    'M'		    Multi-level directory component
       FILE_TYPE	    'F'		    Must handle files differently
       APRIV_TYPE	    'P'		    Allowed  privileges	 data  type  in
					    file
       FPRIV_TYPE	    'p'		    Forced privileges data type in file
       COMP_TYPE	    'C'		    Path components, use for MLD
       ATTR_FLAG_TYPE	    'F'		    File attribute flag bytes data type
       LK_COMP_TYPE	    'K'		    Link data path component

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │See below.		   │
       └─────────────────────────────┴─────────────────────────────┘

       The  general  definitions, the typeflag field definitions, and the mode
       field bit definitions are Standard. The types used in  ancillary	 files
       and  the	 attribute  types  used in Trusted Solaris ancillary files are
       Evolving.

SEE ALSO
       pax(1), attributes(5), standards(5)

SunOS 5.10			  14 Mar 2006			  tar.h(3HEAD)
[top]

List of man pages available for SunOS

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