cdvd(1M)


cdvd -- read the CD-ROM Primary Volume Descriptor

Synopsis

cdvd [-b] 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.

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)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.