cddrec(1M)
cddrec --
read CD-ROM Directory Record
Synopsis
cddrec [-s number]
[-b] file
Description
cddrec lists the contents of the
directory record for a CD-ROM file or directory.
cddrec produces a table
that lists the names of the fields
in the Directory Record and their values.
If the -b option is not used, the System
Use field is not listed because it
may contain non-printable characters.
Command options
file-
File or directory within the CD-ROM file system.
-s number-
File Section for which the Directory Record should be read. The numbering starts with one. If this option is omitted, the last File Section of that file is assumed.
-b-
Lists the contents of the Directory Record, including the
System Use Field, in binary format.
Environment variables
If LC_TIME (which determines the format and
contents of the date and time strings) is not set or
is set to the empty string, then cddrec uses
the value of LANG.
If LANG is not set, or is set to the empty string,
cddrec uses the value from the implementation-specific default
locale.
If both LC_TIME
and LANG contain invalid settings,
cddrec behaves as if all of the variables are undefined.
Exit codes
0-
Successful completion
1-
file not found, file is not within
the CD-ROM file hierarchy, or access permission is denied.
2-
File Section indicated by -s does not exist.
References
cd_drec(3X),
environ(5)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004