Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cdvd(1) [osf1 man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies

2. UNIX for Dummies Questions & Answers

What is File System

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)
Discussion started by: mathuna
5 Replies

3. UNIX for Dummies Questions & Answers

Certified Systems Administrator (CSA) - HP-UX v11

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)
Discussion started by: a_khante
2 Replies

4. Programming

File Descriptor to File Name

I was wondering if there is anyway to get the actual file name (a string) from a file descriptor. Thanks. (3 Replies)
Discussion started by: lskuff
3 Replies

5. UNIX for Dummies Questions & Answers

File Descriptor to File Name

Is there a way to get the file name and/or path (in string form) from a file descriptor? (5 Replies)
Discussion started by: lskuff
5 Replies

6. UNIX for Advanced & Expert Users

Read the entire output fired by ps command

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)
Discussion started by: vinithepoo
5 Replies

7. Shell Programming and Scripting

sort first field start with "ROM"

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)
Discussion started by: amir07
2 Replies

8. Solaris

Solaris 10 does not mount CD/DVD ROM

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)
Discussion started by: afakhim
4 Replies

9. Solaris

Ultra 5 will not boot from DVD ROM :(

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)
Discussion started by: greypilgrim
8 Replies

10. Shell Programming and Scripting

unable to use new line in sed search pattern.

hi , my lilo.conf is as shown below : prompt default=Primary read-only image=/boot/bzImage label=Primary root=/dev/md0 append="reboot=t md=0 ip=off panic=5 quiet console=ttyS0,115200n81" read-only image=/boot/bzImage label=Recover root=/dev/sda3 ... (7 Replies)
Discussion started by: success
7 Replies

11. Solaris

How to see actual filename that File Descriptor is pointing to for a given processID?

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)
Discussion started by: kchinnam
19 Replies

12. UNIX for Advanced & Expert Users

File creation with default access

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)
Discussion started by: balasubramani04
3 Replies

13. AIX

CD-ROM issue with PowerVM IVM VIOS

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)
Discussion started by: filosophizer
2 Replies

14. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

15. Homework & Coursework Questions

Cat/File Descriptor Question

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)
Discussion started by: ayz649
2 Replies