?
Solved

CDROM files copy on Solaris

Posted on 2000-03-22
5
Medium Priority
?
1,220 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 150 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

719 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