cdsuf(1) — Commands
NAME
cdsuf − read the System Use Fields from a System Use Area
SYNOPSIS
cdsuf [-s number] [-b] file
FLAGS
The following options are available:
-s number
Specifies the File Section for the System Use Area to be read. The numbering starts with one. If this option is omitted the last File Section of that file is assumed.
-bCopies all of the System Use Fields of the System Use Area from the CD-ROM to standard output in binary format.
file is the name of any file or directory within the CD-ROM file hierarchy.
DESCRIPTION
This command is used to access the System Use Fields of the System Use Area associated with a File Section of a file or directory on a Rock Ridge formatted CD-ROM and to list its contents on standard output, following any Continuation Fields that may be present.
The output is formatted in the form of a table that contains an entry for each System Use Field in the System Use Area as recorded on the CD-ROM. Each table entry has the fields Signature, Length, Version, and Data as specified in the System Use Sharing Protocol. If the -b option is used, the contents of the full System Use Area are written to standard output in binary format as it is recorded on the CD-ROM.
RESTRICTIONS
The user must have read permission for file to execute the command successfully.
EXIT VALUES
The following exit values are returned:
0Successful completion
1File not found, file is not a file or directory within a CD-ROM file hierarchy, or access denied
2File Section indicated by -s does not exist
3File Section indicated by -s has no System Use Area