cdvd(1M)


cdvd -- read the CD-ROM Primary Volume Descriptor

Synopsis

cdvd [-bps] file

Description

cdvd reads the Primary Volume Descriptor from the CD-ROM and produces a table that lists each field and its contents. If the -b option is not used, the Application Use field is not listed because it may contain non-printable characters.

file
A file or directory in the CD-ROM file system, or a block special file that holds a CD-ROM file system.

-b
Copies the entire Primary Volume Descriptor from CD-ROM to standard output in binary format, including the Application Use field.

-p
Reads the PVD from the CD-ROM and displays each of the PVD's fields and its contents in a printable form. If the -b option is also selected the output is in a binary format. Reading and displaying the PVD is the default operation if the -s option is not used.

-s
Reads any SVDs from the CD-ROM that may exist and displays each existing SVD and each of SVD's fields and its contents in a printable form. If the -b option is also selected the output is in a binary format. Note: There may not be any SVDs on the CD-ROM.

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 cdvd uses the value of LANG. If LANG is not set, or is set to the empty string, cdvd uses the value from the implementation-specific default locale. If both LC_TIME and LANG contain invalid settings, cdvd 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, file is not a block special file for a CD-ROM file system, or access permission is denied.

2
file is a block special file and a read error occurred, or the file system format is not recognized.

References

cd_pvd(3X), cd_svd(3X)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004