1856483 Members
2707 Online
104113 Solutions
New Discussion

DVD ROM device file?

 
SOLVED
Go to solution
sharathkv25
Frequent Advisor

DVD ROM device file?

Hi,,

I am not able to identify which is the DVD-ROM driver file.

# ioscan -fun -C disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s3
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s1
#

Any help

Thanks
4 REPLIES 4
Dennis Handly
Acclaimed Contributor
Solution

Re: DVD ROM device file?

AwadheshPandey
Honored Contributor

Re: DVD ROM device file?

As you can see the
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
is DVD
and
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s3
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s1
is 146 GB HDD.
It's kind of fun to do the impossible
Anshumali
Esteemed Contributor

Re: DVD ROM device file?

Though you got the answer, still you may try running diskinfo for the character device in doubt.

# diskinfo /dev/rdsk/c1t2d0
SCSI describe of /dev/rdsk/c1t2d0:
vendor: _NEC
product id: DVD+RW ND-2100AD
type: CD-ROM
size: 0 Kbytes
bytes per sector: 0


And look for type there.............
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
RobinKing
Valued Contributor

Re: DVD ROM device file?

Now that you know the device file, a common 'trick' is to link the device file to something more memorable, it could save you 10 seconds when mounting a DVD :o)

ln -s /dev/dsk/c0t0d0 /dev/dsk/cdrom

You will then be able to mount a DVD with:

mount /dev/dsk/cdrom /cdrom