Solved

CDROM files copy on Solaris

Posted on 2000-03-22
5
1,189 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
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
bhagawatula earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
jlevie , Thanks for correcting/updating me ;-)
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
Comment Utility
jlevie, Dont worry. I was just providing basic info, and waiting for response.
Regards
Hemanth
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now