Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdvd(1)

cddrec(1)

cdptrec(1)

CDXAR(1)                        Domain/OS SysV                        CDXAR(1)



NAME
     cdxar - read Extended Attribute Record from CDROM

SYNTAX
     cdxar [-s number] [-b] file

DESCRIPTION
     This command is used to read the Extended Attribute Record associated
     with a File Section of a file or directory and to list its contents on
     standard output.  If the command is used without the option -b, only the
     fixed part of the XAR is copied from the CD-ROM; this does not include
     the Application Use field and the Escape Sequences field.

OPTIONS
     The following options are available:
     -s number  This option specifies the File Section for which the
                XAR shall be read. The numbering starts with one. If
                this option is omitted the last File Section of that
                file is assumed.

     -b         With this option the entirety of the XAR is copied from
                CD-ROM to standard output in binary format.

OPERANDS
     The operand file is the name of any file or directory within the CD-ROM
     file hierarchy.

STDIN
     Not used.

INPUT FILES
     None.

ENVIRONMENT VARIABLES
     LC_TIME determines the format and contents of date and time strings. If
     LC_TIME is not set in the environment or is set to the empry string, the
     value of LANG will be used as a default. If LANG is not set or set to the
     empty string, the corresponding value from the implementation-specific
     default locale will be used. If LC_TIME or LANG contain an invalid
     setting, the utility will behave as if none of the variables had been
     defined.

STDOUT
     The output is formatted in the form of a table which contains the name of
     each field of the XAR and the corresponding contents of the entry as
     recorded on the CD-ROM. The Application Use field and the Escape
     Sequences fields are not listed.  If the option -b is applied, the
     contents of the full XAR is written to standard output in binary format
     as it is on the CD-ROM.

STDERR
     Used only for diagnostic messages.

OUTPUT FILES
     None.

EXIT STATUS
     The following exit values are returned:

     0       successful completion

     1       file not found or file is not within a CD-ROM file
             hierarchy or access permission denied.

     2       File Section indicated by -s does not exist.

     3       File Section indicated by -s has no XAR.

     4       the File Section of file indicated by -s is not on
             the currently mounted CD-ROM.

APPLICATION USAGE
     The user must have read permission for file to execute the command
     successfully.

SEE ALSO
     cdvd(1), cddrec(1), cdptrec(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026