mount cdrom solaris core install : p

por | 18 marzo, 2008

 Unless you’ve changed the system’s configuration, mounting
CD/DVD media is supposed to happen automatically, with the
help of the «vold» daemon.

The CD/DVD will be mounted somewhere in /cdrom/xxxx with a
symbolic link /cdrom/cdrom0 pointing to the root directory of the
media.

If you’ve disabled «vold», of if you didn’t install it, manual mounting
works like this:

1. iostat -En
This command can be used to print a list of SCSI/ATAPI/USB/
Firewire disk/cdrom/dvdrom devices. Note the disk id in front
of the entry, for example «c1t1d0»:

% iostat -En
c1t1d0           Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: HL-DT-ST Product: DVDRAM GMA-4020B Revision: A105 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0

2. Manually mount the device, using the device id from the above
iostat command, with slice «s2» appended (on Solaris x86:
append «p0»).

# mount -F hsfs /dev/dsk/c1t1d0s2 /mnt
——SOLARIS X86–—-
mount -F hsfs /dev/dsk/c1t0d0p0 /mnt