[SunHELP] How to mount a DVD on Solaris 9?

Martin Frost martin at omniconsumerproducts.com
Fri Sep 1 05:07:05 CDT 2006


On Fri, 1 Sep 2006, Alexander Skwar wrote:

> I'm trying to mount a DVD (Solaris 10 Sparc 3/05 - original, 
> manufactured by Sun, ie. not self burned) on a SunFire V240.
> This machine has a IDE DVD reader.

> According to my textbook, I should be able to do so by running:
> 
> # mkdir /cdrom/unnamed_cdrom
> # mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom/unnamed_cdrom

That device name is not correct for a V240. That looks correct for a
machine with a SCSI CDROM connected to the first controller (SCSI CDROMs
are ID 6 by convention on Solaris).

On a V240 here, the DVD-ROM is /dev/dsk/c0t0d0s*

> That's correct:
> 
> bash-2.05# ls -la /dev/dsk/c0t6*
> /dev/dsk/c0t6*: No such file or directory

In this case, you won't have this device, since the IDE controller doesn't
have a target 6.

> If vold is running, where does it mount media? My textbook says, at
> /cdrom/cdrom0 - but there's nothing :/

It mounts CDROMs and DVDs under /cdrom/volume_name, where volume_name is
the actual volume title read from the media. /cdrom/cdrom0 is then
symlinked to this volume name.

This is what I have on a V240 with IDE DVD-ROM and Solaris 10 media
(6/06 but differences should be minimal):

$ ls -l /cdrom
total 2
lrwxrwxrwx   1 root           18 Aug 29 15:24 cdrom0 -> ./sol_10_606_sparc
drwxr-xr-x   9 root          512 Aug 29 15:24 sol_10_606_sparc
$ ls -l /cdrom/sol_10_606_sparc/
total 8
dr-xr-xr-x   2 root         2048 Jun  9 20:28 s0
drwxr-xr-x  18 root          512 Jun  9 21:03 s1
drwxr-xr-x   2 root          512 Jun  9 21:05 s2
drwxr-xr-x   2 root          512 Jun  9 21:05 s3
drwxr-xr-x   2 root          512 Jun  9 21:05 s4
drwxr-xr-x   2 root          512 Jun  9 21:05 s5
drwxr-xr-x   2 root          512 Jun  9 21:05 s6
$ mount
[...]
/cdrom/sol_10_606_sparc/s6 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s6 [...]
/cdrom/sol_10_606_sparc/s5 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s5 [...]
/cdrom/sol_10_606_sparc/s4 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s4 [...]
/cdrom/sol_10_606_sparc/s3 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s3 [...]
/cdrom/sol_10_606_sparc/s2 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s2 [...]
/cdrom/sol_10_606_sparc/s1 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s1 [...]
/cdrom/sol_10_606_sparc/s0 on /vol/dev/dsk/c0t0d0/sol_10_606_sparc/s0 [...]
[...]

If the DVD is not being mounted automatically, type "volcheck" to prod the
volume manager into looking for it.

Martin



More information about the SunHELP mailing list