cd rom device


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cd rom device
# 1  
Old 06-23-2005
cd rom device

Hi All,

I would like to mount a cd device on a sun using the mount command.
But i do not know what device the cd drive is ie /dev/sr0 or /dev/cdrom0 bla bla. I need this info to run the command...
mount /dev/blah /mnt/cdrom

so i can access the cd. but i dont know what blah in the above is.
(I have tried looking in /dev but cant see any obvious possibilities)

Is there an obvious way to find this out?

Many thanks

Rkap

ps. I also did a probe-ide at the ok prompt and this picked up the ATAPI cd drive as device 2
# 2  
Old 06-23-2005
solaris handle cdroms with the same ids like harddisks, so you will find your cdrom in /dev/dsk/ with c*t*d*s*. if you know the bus-id, you can mount it with that target id and slice 0.
an easy way to see which of this devices is a cdrom, you can have a look at your device classes in the io management with iostat
for example on my mashine:
root@blade # uname -a
SunOS blade 5.10 Generic_118822-02 sun4u sparc SUNW,Sun-Blade-1000
root@blade # iostat -En
c2t6d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: TOSHIBA Product: DVD-ROM SD-M1401 Revision: 1007 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: DK32EJ72FSUN72G Revision: 2Q09 Serial No: 0309W0V**0
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HITACHI Product: DK32EJ72FSUN72G Revision: 2Q09 Serial No: 0309W0V**8
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

you see? one device is called a DVD-ROM and you can see the vendor. first thing on each output for each device is the device-id. so mine would be c2t6d0.....

to mount it type:
mount -F hsfs -o ro /dev/dsk/c2t6d0s0 /directory

greetings PRESSY
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

3. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

4. Solaris

cd rom to dvd rom drive swap

Hello, I need to replace a cd rom drive with a dvd rom drive in a SunFire v120 running Solaris 8. My objective is to install Solaris 10 from dvd disc. Downloading Solaris 10 cd discs is not an option since I am in Baghdad, Iraq and connection speeds are horrible. So far, all I can get is power to... (9 Replies)
Discussion started by: 555
9 Replies

5. Solaris

device associated with cd-rom ?

hi all , how can i know the device associated with my CD-ROM under file system /dev/dsk/... ? (2 Replies)
Discussion started by: lid-j-one
2 Replies
Login or Register to Ask a Question