Solved

CDROM files copy on Solaris

Posted on 2000-03-22
5
1,211 Views
Last Modified: 2013-12-21
How can I mount CD-ROM in order to copy files.
This is under SOlaris

Thanx
0
Comment
Question by:clemend
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
bhagawatula earned 50 total points
ID: 2646644
Just insert the CDROM in to the drive.
volume manager should automatically mount ur cd into /cdrom/cdrom0
if this doesnot happen, do the following:
1) # eject cdrom
2) insert the cd into drive
3) # mount /cdrom

If this also doesnot work, try stopping volume manager and restart it.
# /etc/init.d/volmgt stop
# /etc/init.d/volmgt start
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2646728
While bhagawatula's comment is basically correct, I don't think it goes quite far enough.

By default, floppies and CD's are managed by the Solaris vold daemon. It uses the configuration data in /etc/vold.conf to determine what devices to manage and how to do so. The presence of:

use cdrom drive /dev/rdsk/c*s2 dev_cdrom.so cdrom%d

Tells vold to manage CD's and to mount them on /cdrom/cdromN where N starts at 0 and increments for each CD drive found. Thus the first CD drive will mount it's CD on /cdrom/cdrom0 when vold detects that a "mountable" CD has been inserted. When vold is managing the CD drives it owns the devices and they can't be used by anything else, so you can't manually mount a CD. Examining /etc/vold.conf will tell you if the CD is selected for management, and "ps -ef | grep vold | grep -v grep" will tell you if vold is running.

As mentioned, you tell vold to unmount and eject the CD with "eject" or "eject cdrom".

Okay, vold can only mount what it considers to be "mountable" CD's. Any CD written in iso9660 with "RockRidge" extensions is mountable in all versions of Solaris from 2.5.1 on (2.4 & 2.5 require patches to work properly). CD's burned with a lot of the PC mastering software usually don't have the "RockRidge' extensions and may not strictly be iso9660 compliant. They may or may not mount, depending on what version of Solaris you have and what patches have been applied
0
 
LVL 1

Expert Comment

by:bhagawatula
ID: 2646910
jlevie , Thanks for correcting/updating me ;-)
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2647077
bhagawatula, I hope you didn't take it as a "put down", because it certainly wasn't meant to be. Just that there's a bit more to that the questioner ought to know.
0
 
LVL 1

Expert Comment

by:bhagawatula
ID: 2647304
jlevie, Dont worry. I was just providing basic info, and waiting for response.
Regards
Hemanth
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 121
How to clone solaris 10 machine 33 194
Install MySQL 5.6 and PHP on Centos Linux 6 181
Permit ONLY SFTP service on AIX 7.2 system 4 27
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question