martes, 16 de junio de 2009

How to identify io devides

For the newbie Solaris looks like a hard stone. Sometimes something quite easy like mounting the cdrom can be quite difficult, mainly because the devices (like cdrom) have a quite extrange name (something like c0t0d0, or whatever).
The following command can help to identify what io devices are installed in the system:
\>iostat -En

c1t0d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: VBOX Product: CD-ROM Revision: 1.0 Serial No:
Size: 0.00GB <0>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0

Using the output provided here we can now mount the cdrom with:

\>mount -F hsfs -o ro /dev/dsk/c1t0d0s0 /mnt/cdrom/

Easy, humm??
May the source be with you...

No hay comentarios:

Publicar un comentario