cddrec - Read Directory Record from CD-ROM directory
/usr/bin/cddrec [-s number] [-b] file
Specifies the File Section for which the Directory Record is to be
read. The numbering starts with one and can be any whole number. If
this option is not used, the last file section of the named file is
-b Copies the entire Directory Record from a CD-ROM in binary format to
Names a file within the CD-ROM file hierarchy of a mounted CD-ROM File
The cddrec command reads the Directory Record associated with a file or
directory on a mounted CD-ROM and lists its contents on standard output.
The output is formatted in a table that contains the name of each field of
the Directory Record and the corresponding contents of the entry as
recorded on the CD-ROM. Note that the System Use field is not listed
because it may contain non-printable characters.
Users must have read permission for file in order to execute the command.
The following exit values are returned:
0 The command was successful.
1 The named file was not found, or was not within the CD-ROM hierarchy,
or access permission was denied.
2 The File Section indicated by file does not exist.
Functions: cd_cdrec(3), cd_drec(3)