cdvd(1) General Commands Manual cdvd(1)NAME
cdvd - Read Primary Volume Descriptor from a CD-ROM
SYNOPSIS
/usr/bin/cdvd [-b] file
OPTIONS
Copies the entire Primary Volume Descriptor from a CD-ROM in binary format to standard output. Names the block special file for a CD-ROM
File System, or a file or directory within the CD-ROM file hierarchy of a mounted CD-ROM File System.
DESCRIPTION
The cdvd command reads the Primary Volume Descriptor from a CD-ROM and lists the contents on standard output.
The output is formatted in a table that contains the name of each field of the Primary Volume Descriptor and the corresponding contents of
the entry as recorded on the CD-ROM. Note that the Application 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.
EXIT STATUS
The following exit values are returned: The command was successful. The named file was not found, or was not within the CD-ROM hierarchy,
or not a block special file for a CD-ROM File System, or access permission was denied. The named file is a block special file and a read
error has occurred, or the CD-ROM is not recorded according to the ISO 9660 standard.
SEE ALSO
Files: cd_cpvd(3), cd_pvd(3)cdvd(1)
Check Out this Related Man Page
cd_type(3) Library Functions Manual cd_type(3)NAME
cd_type - Determines the type of file system recorded on a CD-ROM
LIBRARY
Rock Ridge and X/Open Extensions to the CDFS library (libcdrom.so, libcdrom.a)
SYNOPSIS
#include <sys/cdrom.h> int cd_type ( char *path );
PARAMETERS
Points to a pathname naming a file or directory within the CD-ROM File System hierarchy, or to a pathname naming the block special
file for the CD-ROM File System.
DESCRIPTION
The cd_type routine determines the type of file system recorded on the CD-ROM pointed to by *path.
RETURN VALUES
If successful, the function returns one of the following values, which are defined in cdfs/xcdr.h, an include file that is called into
sys/cdrom.h:
{CD_ISO9660} CD-ROM is recorded according to ISO 9660.
{CD_HSG} CD-ROM is recorded according to High Sierra Group.
{CD_RRIP} CD-ROM is recorded according to ISO 9660 with the Rock Ridge Extension.
If unsuccessful, the integer -1 is returned and errno is set to indicate the error.
ERRORS
The function will fail if: Search permission is denied for a directory in *path or read and execute permission are denied for the named
file, or read permission is denied on the block special file pointed to by *path. The address of *path is invalid. A signal was caught
during execution of the function. The argument *path points to a file or directory that is not within the CD-ROM file hierarchy.
{OPEN_MAX} file descriptors are currently open in the calling process.
[Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The length of the *path string exceeds
{PATH_MAX}, or a pathname component is longer than {NAME_MAX} while {_POSIX_NO_TRUNC} is in effect. The system file table is full.
A component of *path does not exist, or the *path argument points to an empty string. A component of the *path prefix is not a
directory. The CD-ROM is not in the drive, or a read error occurred.
The named file is a block special file and the device associated with the special file does not exist.
RELATED INFORMATION
Files: cdfs/xcdr.h, sys/cdrom.h.
delim off
cd_type(3)
What is File System. What file System is used in UNIX? Any Partition ? What is the default directory?
I also want to know the important features of UNIX?
Can anybody help me?
Regards,
Nalini (5 Replies)
Hi Gues I Want To Go For Hp Unix Certification (as A System Admin)
But I Dont Even Have Primary Knowlege Of Unix
Please Guide Me From Where I Should Start Any Book U Can Suggest Me?????????
Even I Dont Have Much Information About The Hp Certification Please Provide Me The Information For... (2 Replies)
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....
Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with... (5 Replies)
Hello!
I have the following file when I grep just for "ROM" i get everything but
I am looking for line start with "ROM" only in the first field only, where "ROM" is the first 3 characters.
Thanks,
ROMMANC ROM-MPI
ROMMAND ROM-rty
ROMMANE ROM-Mii
ROMMANF RON-poi
MAAROMP ROS-MPI... (2 Replies)
Hi All,
I just bought the SUN x2200m2. After I installed Solaris, I cannot see the CD/DVD ROM. I cannot mount the CD/DVD ROM since it says already mounted. When I try unmount it I get message that CD/DVD is not mounted. :(
Any idea please.
Thx (4 Replies)
Hi,
I just got a new Ultra 5 and replaced the CD-ROM with an LG DVD-ROM (approved and listed in Sun HCL). Got the DVD-ROM installed to install Solaris 10. Im just learning and new to Solaris installation.
When I insert a Solaris 10 DVD I see that it gets mounted and File Manager opens and... (8 Replies)
Using lsof command I was able to query all Regular Files opened for write.
A specific processID related output shows some FileDescriptors(FD 45 in second output 45w) pointing to real file. But most of the FDs(1, 2, 5 in first output and 31,29,10 in second output) are pointing to root of the disk... (19 Replies)
Hi,
I want to create files and directories with below access control
System. AIX
File should have 664 permission
Directories should have 755
Can you please let me know how to achieve this? (3 Replies)
I am facing problems in moving CD-ROM from one lpar to another.
CDROM can be seen on the POWERVM (IVM) server , but through the web-access if I move it ( assign it ) to LPAR it will be assigned. I run cfgmgr , and the cdrom does not show up in the LPAR. I firmly believe this is the reason why I... (2 Replies)
For the command below, I need to understand what exactly the command does and provide an examples for which the output will be saved to file save2... From my understanding, if the file provides an error in the first half of the pipe, it'll save to save1 and will never give an error to save to... (2 Replies)