Re: Cannot mount DVD-ROM



/** Contents might be related with x86 systems. Don't read if you're
not interested. **/

Well, problem is solved!
I found that all c0t0* symlinks were invalid!
bash$ ls -l /dev/dsk/c0t0*
lrwxrwxrwx 1 root root 49 Jan 9 2009 c0t1d0p0 -
../../devices/pci@0,0/pci-ide@1f,1/ide@0/sd@0,0:q
lrwxrwxrwx 1 root root 49 Jan 9 2009 c0t1d0p1 -
../../devices/pci@0,0/pci-ide@1f,1/ide@0/sd@0,0:r

And from prconf output:
I found that the device instance address: /devices/pci@0,0/pci-ide@1f,
1/ide@0/sd@1,0:q

made a link to /devices/pci@0,0/pci-ide@1f,1/ide@0/sd@1,0:c and
mounted the DVD-ROM successfully.

Then I reconfigured device trees
drvconfig -r /mnt/devices
devlinks -r /mnt
disks -r /mnt

removed old symlinks: rm /dev/dsk/c0t0* && rm /dev/rdsk/c0t0*

Now everythings work smoothly. I have some questions. Give me the
answers or if you are bored to answer then give me link where I can
understand things.

1. ls -l /dev/dsk/c0d0s0
lrwxrwxrwx 1 root root 51 Dec 20 03:30 /dev/dsk/c0d0s0 -
../../devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0:a

What does cmdk mean?
cmdk@1 mean hard-disk as slave?

2. ls -l /dev/dsk/c0t1d0s0
lrwxrwxrwx 1 root root 49 Jan 9 2009 /dev/dsk/
c0t1d0s0 -> ../../devices/pci@0,0/pci-ide@1f,1/ide@0/sd@1,0:a

What does sd mean? sd@1 mean device as slave?

3. All c0d0* mean the hard-disk(attached to controller 0) partitions/
slices?
All c0t1d0* mean CD/DVD-ROM?

4. Firstly my HDD slices/partitions were c0d1* and DVD-ROM c0t0*
After making the hard-disk master and DVD-ROM slave why HDD became
c0d0* and DVD-ROM c0t1*
How does this numbering work?
.


Quantcast