Sponsored Content
Full Discussion: Find the cdrom
Operating Systems Solaris Find the cdrom Post 302121346 by solfreak on Wednesday 13th of June 2007 08:55:37 AM
Old 06-13-2007
Quote:
Originally Posted by vibhor_agarwali
How can i find out exactly which device is the Cdrom.

On linux it used to be /dev/cdrom.

Thanks
iostat -En will show the cdrom device file.

On Solaris 10 the vold daemon automatically mounts a cdrom (uses /vol/dev/dsk/cXtYdZ/CDLABEL ) when inserted. Look in /cdrom there should be directory with the cdrom's label in there. To unmount use the eject or volrmmount command.

If vold isn't running then you can mount the cdrom the usual way:
mount -F hsfs /dev/dsk/cXtYdZ /cdrom
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cdrom

How would I mount a cdrom drive in Unix (4 Replies)
Discussion started by: Hordak
4 Replies

2. UNIX for Advanced & Expert Users

mount cdrom

Info: Alpha Server ES40, True64 Unix 4.0F Symptom: root#file /dev/rrz*c root#. . /dev/rrz24c: character special (8/49154) EIDE #3 CDR-8435 disk #192 (scsi ID #0) (SCSI LUN #0) offline root#mount -r /dev/rz24c /mnt root#/dev/rz24c on /mnt: I/O error pls help me, i don't know if... (2 Replies)
Discussion started by: q30
2 Replies

3. UNIX for Dummies Questions & Answers

mounting cdrom

Hey everyone, Quick question...I am trying to get packages off a cdrom for NETBSD. I tried mounting using this command mount /dev/rccd0a /etc/home/cdrom. But I just get an error. I did a dmesg |grep ^cd and it said that my cdrom was at cd0.? Am I doing something wrong.? Any help would... (2 Replies)
Discussion started by: vaff4k
2 Replies

4. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

5. Solaris

could not find cdrom

on solaris 10, when I injected my cd to the dvdrom, the cdrom did not mount by itself. how can I mount the cdrom manually? (2 Replies)
Discussion started by: fredao
2 Replies

6. Solaris

from where i can find the CDROM device

Hi, I attached the CDROM device in sun 2500 system , Now i want to mount this device. From where i can find the CDROM device. Thnx.. (2 Replies)
Discussion started by: Aamir Sahil
2 Replies

7. SCO

cdrom will not mount

I am trying to mount my a cd in my SCO 5.0.7 box and keep getting this: Alessandra! -->#mount -r /dev/cd0 /mnt mount: cannot stat '/dev/cd0' Alessandra! -->hwconfig name=kernel vec=- dma=- rel=3.2v5.0.7 kid=2003-02-18 name=cpu vec=- dma=- unit=1... (0 Replies)
Discussion started by: herot
0 Replies

8. Solaris

not able to boot from cdrom

Hi all am trying to boot the system from cdrom in single user mode , however when i am giving command boot cdrom -s i am getting below error Boot Device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0: f file and args: Can't read disk label Can't open disk label package can,t open boot device ... (17 Replies)
Discussion started by: kumarmani
17 Replies

9. UNIX for Dummies Questions & Answers

can't mount cdrom

Hi there I am trying to mount a cdrom using: mount /cdrom and I get the error: mount: mount point cannot be determined If I try the command mount cdrom /cdrom nfs mount: nfs file system; use path I tried running mountall and mountall -F NFS but to no avail (3 Replies)
Discussion started by: niamh
3 Replies

10. Solaris

can't boot cdrom

iam traying to install o/s in spark machine it showing error ok >boot cdrom is showing error short disk read failed to read superblock the file just loaded does not appear to excutable how to solve this can u help me (6 Replies)
Discussion started by: tirupathi
6 Replies
SDL_CDPlayTracks(3)						 SDL API Reference					       SDL_CDPlayTracks(3)

NAME
SDL_CDPlayTracks - Play the given CD track(s) SYNOPSIS
#include "SDL.h" int SDL_CDPlayTracks(SDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes)); DESCRIPTION
SDL_CDPlayTracks plays the given CD starting at track start_track, for ntracks tracks. start_frame is the frame offset, from the beginning of the start_track, at which to start. nframes is the frame offset, from the beginning of the last track (start_track+ntracks), at which to end playing. SDL_CDPlayTracks should only be called after calling SDL_CDStatus to get track information about the CD. Note: Data tracks are ignored. RETURN VALUE
Returns 0, or -1 if there was an error. EXAMPLES
/* assuming cdrom is a previously opened device */ /* Play the entire CD */ if(CD_INDRIVE(SDL_CDStatus(cdrom))) SDL_CDPlayTracks(cdrom, 0, 0, 0, 0); /* Play the first track */ if(CD_INDRIVE(SDL_CDStatus(cdrom))) SDL_CDPlayTracks(cdrom, 0, 0, 1, 0); /* Play first 15 seconds of the 2nd track */ if(CD_INDRIVE(SDL_CDStatus(cdrom))) SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15); SEE ALSO
SDL_CDPlay, SDL_CDStatus, SDL_CD SDL
Tue 11 Sep 2001, 22:58 SDL_CDPlayTracks(3)
All times are GMT -4. The time now is 09:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy