Find the cdrom

Hi,

I have installed Solaris 10 in intel architecture via Virtual Machine.

By default the CDROM isn't mounted.

How can i find out exactly which device is the Cdrom.

On linux it used to be /dev/cdrom.

Thanks

When I insert a CD it's auto-mounted from /vol/dev/dsk/c1t0d0/cdrom but when I eject the cd the "cdrom" part disappears.

iostat -En will show the cdrom device file.

On Solaris 10 the vold daemon automatically mounts a cdrom (uses /vol/dev/dsk/cXtYdZ/CDLABEL ) when inserted. Look in /cdrom there should be directory with the cdrom's label in there. To unmount use the eject or volrmmount command.

If vold isn't running then you can mount the cdrom the usual way:
mount -F hsfs /dev/dsk/cXtYdZ /cdrom

Earlier i was trying without a CD.

Now inserted one, but no progress...

bash-3.00# iostat -En
sd0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: RW/DVD GCC-4481B Revision: E106 Serial No:
Size: 0.04GB <38227968 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0

iostat gives the above error

Also i don't have anything like /cdrom. :confused:

Shall i create it? :smiley: